summary refs log tree commit diff stats
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
parent234a50aa54d1e62347b49f432f76cee5df48893d (diff)
downloadranger-d763950406f295ddfc190350d1ceefc9b5357526.tar.gz
core.fm: disable garbage collecting old directories
it was kind of broken too
-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
1fa593d056ad791a48570196664ca29f57a8d4'>^
471fc680 ^
63a9639d ^
a2853ab6 ^
63a9639d ^
a2853ab6 ^
8fa87054 ^


a66c4a26 ^

f027adc0 ^
b289f679 ^

5c210a96 ^

3de15ddd ^

fb275079 ^

5c210a96 ^
3d566884 ^
e30d16cb ^
621a1a39 ^
c44b726e ^
465bff73 ^




f8e96a97 ^
b289f679 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56