mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Removed now unnecessary cache clearing
This commit is contained in:
parent
e1ce80131a
commit
0ae9091889
@ -6,7 +6,7 @@ from datetime import datetime
|
|||||||
from threading import Lock
|
from threading import Lock
|
||||||
|
|
||||||
from ..globalconf import data_dir
|
from ..globalconf import data_dir
|
||||||
from .dbcache import cached_wrapper, cached_wrapper_individual, invalidate_entity_cache
|
from .dbcache import cached_wrapper, cached_wrapper_individual
|
||||||
|
|
||||||
from doreah.logging import log
|
from doreah.logging import log
|
||||||
from doreah.regular import runhourly, runmonthly
|
from doreah.regular import runhourly, runmonthly
|
||||||
@ -662,11 +662,6 @@ def clean_db():
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Clear caches
|
|
||||||
invalidate_entity_cache()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@runmonthly
|
@runmonthly
|
||||||
def renormalize_names():
|
def renormalize_names():
|
||||||
with SCROBBLE_LOCK:
|
with SCROBBLE_LOCK:
|
||||||
|
Loading…
Reference in New Issue
Block a user