HUE-8817 [core] Improve get_ordered_interpreters performance

Review Request #13885 - Created April 23, 2019 and submitted

Jean-Francois Desjeans Gauthier
hue
master
HUE-8817
hue
jgauthier
commit de228895051aa9ce4793d916d42f17a3a62d5dab
Author: jdesjean <jgauthier@cloudera.com>
Date:   Tue Apr 23 11:12:33 2019 -0700

    HUE-8817 [core] Improve get_ordered_interpreters performance

:100644 100644 38668fab54... 554da3f9b3... M	desktop/libs/notebook/src/notebook/conf.py

Current implementation of conf.notebook.get_ordered_interpreters does a database call to get user permissions for each interpreter.

Switch to doing 1 database call and then filter the list.

  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Loading...