diff options
author | hut <hut@lavabit.com> | 2013-04-12 21:37:48 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-04-12 21:44:48 +0200 |
commit | d763950406f295ddfc190350d1ceefc9b5357526 (patch) | |
tree | 2b83a5544a5584d9cc7e32088f7556e5ad85fc9f | |
parent | 234a50aa54d1e62347b49f432f76cee5df48893d (diff) | |
download | ranger-d763950406f295ddfc190350d1ceefc9b5357526.tar.gz |
core.fm: disable garbage collecting old directories
it was kind of broken too
-rw-r--r-- | ranger/core/fm.py | 8 |
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 |