Browse Source

enhance: set smaller time for throttle

Tienson Qin 2 years ago
parent
commit
fd3cfbdacd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/cmdk.cljs

+ 1 - 1
src/main/frontend/components/cmdk.cljs

@@ -467,7 +467,7 @@
 
      ;; ensure that there is a throttled version of the load-results function
      (when-not @!load-results-throttled
-       (reset! !load-results-throttled (gfun/throttle load-results 100)))
+       (reset! !load-results-throttled (gfun/throttle load-results 50)))
 
      ;; retreive the laod-results function and update all the results
      (when-let [load-results-throttled @!load-results-throttled]