Accounting crawler: re-enable share deletion. refs #1987
authorDaira Hopwood <david-sarah@jacaranda.org>
Thu, 30 May 2013 17:58:08 +0000 (18:58 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 17 Apr 2015 21:31:40 +0000 (22:31 +0100)
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
src/allmydata/storage/accounting_crawler.py

index 9a280df29b212728989cb6c4c5e1855ff329784f..a92755f0cdf71a445a1c6b6303110150a2bab5ec 100644 (file)
@@ -34,7 +34,7 @@ class AccountingCrawler(ShareCrawler):
     def __init__(self, backend, statefile, leasedb, clock=None):
         ShareCrawler.__init__(self, backend, statefile, clock=clock)
         self._leasedb = leasedb
-        self._enable_share_deletion = False
+        self._enable_share_deletion = True
 
     def process_prefix(self, cycle, prefix, start_slice):
         # Assume that we can list every prefixdir in this prefix quickly.