[meld] matchers.helpers: A one second grace period is generous...



commit 2e08e9f72cae6f4eaab55d8dc3e6fa79fde4ee13
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Mon Jan 29 08:12:47 2018 +1000

    matchers.helpers: A one second grace period is generous...
    
    ...a five second grace period was insane.

 meld/matchers/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meld/matchers/helpers.py b/meld/matchers/helpers.py
index e6502c86..02dddfa3 100644
--- a/meld/matchers/helpers.py
+++ b/meld/matchers/helpers.py
@@ -46,7 +46,7 @@ class CachedSequenceMatcher(object):
     eviction is overly simplistic, but is okay for our usage pattern.
     """
 
-    TASK_GRACE_PERIOD = 5
+    TASK_GRACE_PERIOD = 1
 
     def __init__(self, scheduler):
         """Create a new caching sequence matcher


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]