From f1276beb975493610bfa32ef17ad5a795f0b1068 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Wed, 4 Oct 2017 17:27:01 +0200 Subject: [PATCH] Bump prority for non-user json files --- src/Worker/WorkerManager.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Worker/WorkerManager.py b/src/Worker/WorkerManager.py index 9aafc39d..47f62e08 100644 --- a/src/Worker/WorkerManager.py +++ b/src/Worker/WorkerManager.py @@ -417,16 +417,16 @@ class WorkerManager(object): if "-default" in inner_path: return -4 # Default files are cloning not important elif inner_path.endswith("all.css"): - return 13 # boost css files priority + return 14 # boost css files priority elif inner_path.endswith("all.js"): - return 12 # boost js files priority + return 13 # boost js files priority elif inner_path.endswith("dbschema.json"): - return 11 # boost database specification + return 12 # boost database specification elif inner_path.endswith("content.json"): return 1 # boost included content.json files priority a bit elif inner_path.endswith(".json"): if len(inner_path) < 50: # Boost non-user json files - return 10 + return 11 else: return 2 return 0