diff options
| author | Stephen Blott | 2015-05-11 12:48:08 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-11 12:59:44 +0100 |
| commit | c3134f6496f9b0136f1fa454a2c5f81683713a3a (patch) | |
| tree | 4d1cfb05e2b13f8cd2fa8f80cfe9ca2c9f57154e /background_scripts/completion_search.coffee | |
| parent | 4f8aeea11d86ac6f7051680edf0b45bf15ce2c14 (diff) | |
| download | vimium-c3134f6496f9b0136f1fa454a2c5f81683713a3a.tar.bz2 | |
Search completion; pre-merge tweaks.
Diffstat (limited to 'background_scripts/completion_search.coffee')
| -rw-r--r-- | background_scripts/completion_search.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/completion_search.coffee b/background_scripts/completion_search.coffee index 841990c9..2d2ee439 100644 --- a/background_scripts/completion_search.coffee +++ b/background_scripts/completion_search.coffee @@ -1,6 +1,6 @@ CompletionSearch = - debug: true + debug: false inTransit: {} completionCache: new SimpleCache 2 * 60 * 60 * 1000, 5000 # Two hour, 5000 entries. engineCache:new SimpleCache 1000 * 60 * 60 * 1000 # 1000 hours. @@ -109,7 +109,7 @@ CompletionSearch = console.log "GET", url if @debug catch suggestions = [] - # We cache failures too, but remove them after just thirty minutes. + # We allow failures to be cached too, but remove them after just thirty minutes. Utils.setTimeout 30 * 60 * 1000, => @completionCache.set completionCacheKey, null console.log "fail", url if @debug |
