summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-25 18:10:45 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-25 18:10:45 +0100
commitc393152d1f84fc19a0d04c91d7d545c89a7d3693 (patch)
treea2b0adf9d5903f44cf54310defe48a3078f7ab7e
parent7be4d39c69cbe8d5668cf4eb95859ddf792cdcd9 (diff)
downloadprocessor-c393152d1f84fc19a0d04c91d7d545c89a7d3693.tar.gz
processor-c393152d1f84fc19a0d04c91d7d545c89a7d3693.zip
only compile requested playersrelease/1.6.0
-rw-r--r--api.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/api.py b/api.py
index 23155c0..ff68327 100644
--- a/api.py
+++ b/api.py
@@ -149,7 +149,9 @@ class Processor(joblib.worker.Worker):
logging.debug("%s: requesting jobs for %s",
jobid, obj_id)
self._priorities.append(priority)
- if table == "player" or table == "participant":
+ if table == "participant":
+ self._compilejobs.append(payload)
+ if table == "player" and data["name"] == explicit_player:
self._compilejobs.append(payload)
if table == "participant":
self._analyzejobs.append(payload)