From d763950406f295ddfc190350d1ceefc9b5357526 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 12 Apr 2013 21:37:48 +0200 Subject: core.fm: disable garbage collecting old directories it was kind of broken too --- ranger/core/fm.py | 8 ++++---- 1 file 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 -- cgit 1.4.1-2-gfad0