From c393152d1f84fc19a0d04c91d7d545c89a7d3693 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 25 Mar 2017 18:10:45 +0100 Subject: only compile requested players --- api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'api.py') 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) -- cgit v1.3.1