Kaynağa Gözat

chore: reduce debounce timeout

Weihua Lu 4 yıl önce
ebeveyn
işleme
ae1e4b9df9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/main/frontend/extensions/zotero.cljs

+ 1 - 1
src/main/frontend/extensions/zotero.cljs

@@ -14,7 +14,7 @@
             [rum.core :as rum]))
 
 (def term-chan (chan))
-(def debounce-chan-mult (a/mult (api/debounce term-chan 3000)))
+(def debounce-chan-mult (a/mult (api/debounce term-chan 500)))
 
 (rum/defc zotero-search-item [{:keys [data] :as item} handle-command-zotero]
   (let [type (:item-type data)