Chris Jones  committed ae6e1ba

Added python list trim on inital index page for loading of keys. If key length is over 500 keys, trim to 500. Much faster loading when dealing with tens of thousands of keys or more. Anything not loaded should be searched for.

  • Participants
  • Parent commits 5fefc6d

Comments (0)

Files changed (1)

         return redirect(url_for('setup'))
     keys = r.keys()
+    if len(keys) > 500:
+        keys = keys[:500]
     return render_template('index.html', keys=keys)