소스 검색

chore: reduce debounce timeout

Weihua Lu 4 년 전
부모
커밋
ae1e4b9df9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)