about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-04-12 21:37:48 +0200
committerhut <hut@lavabit.com>2013-04-12 21:44:48 +0200
commitd763950406f295ddfc190350d1ceefc9b5357526 (patch)
tree2b83a5544a5584d9cc7e32088f7556e5ad85fc9f /ranger
parent234a50aa54d1e62347b49f432f76cee5df48893d (diff)
downloadranger-d763950406f295ddfc190350d1ceefc9b5357526.tar.gz
core.fm: disable garbage collecting old directories
it was kind of broken too
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/fm.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py
index b2c23a1d..918d1de2 100644
--- a/ranger/core/fm.py
+++ b/ranger/core/fm.py
@@ -318,10 +318,10 @@ class FM(Actions, SignalDispatcher):
                         if zombie.poll() is not None:
                             zombies.remove(zombie)
 
-                gc_tick += 1
-                if gc_tick > ranger.TICKS_BEFORE_COLLECTING_GARBAGE:
-                    gc_tick = 0
-                    self.garbage_collect(ranger.TIME_BEFORE_FILE_BECOMES_GARBAGE)
+                #gc_tick += 1
+                #if gc_tick > ranger.TICKS_BEFORE_COLLECTING_GARBAGE:
+                    #gc_tick = 0
+                    #self.garbage_collect(ranger.TIME_BEFORE_FILE_BECOMES_GARBAGE)
 
         except KeyboardInterrupt:
             # this only happens in --debug mode. By default, interrupts