diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-25 18:10:45 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-25 18:10:45 +0100 |
| commit | c393152d1f84fc19a0d04c91d7d545c89a7d3693 (patch) | |
| tree | a2b0adf9d5903f44cf54310defe48a3078f7ab7e /api.py | |
| parent | 7be4d39c69cbe8d5668cf4eb95859ddf792cdcd9 (diff) | |
| download | shrinker-c393152d1f84fc19a0d04c91d7d545c89a7d3693.tar.gz shrinker-c393152d1f84fc19a0d04c91d7d545c89a7d3693.zip | |
only compile requested players
Diffstat (limited to 'api.py')
| -rw-r--r-- | api.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |
