Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Commit d63d737d authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

#3

parent 3a4a8edf
Pipeline #5859 failed with stages
in 37 minutes and 47 seconds
......@@ -10,6 +10,8 @@ def janitor():
"""
data_dir = os.path.join(app.config['FRACTALIS_TMP_DIR'], 'data')
if not os.path.exists(data_dir):
for key in redis.scan_iter('data:*'):
redis.delete(key)
return
cached_files = [f for f in os.listdir(data_dir)
if os.path.isfile(os.path.join(data_dir, f))]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment