removing gc call

This commit is contained in:
Vinicius Moreira
2019-08-07 17:56:39 -03:00
parent 49c9846868
commit d492fcdbfb
2 changed files with 1 additions and 3 deletions

View File

@@ -3,7 +3,6 @@ from threading import Thread
from typing import List
from fpakman.util.cache import Cache
import gc
class CacheCleaner(Thread):
@@ -20,6 +19,5 @@ class CacheCleaner(Thread):
for cache in self.caches:
cache.clean_expired()
gc.collect()
time.sleep(self.check_interval)