summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-02-28 17:54:21 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-02-28 17:54:21 +0100
commit911cff2384de8146d32cb2b14ff1625bfba679c5 (patch)
treea88171e3822cc6cfde203a088b6b81da0f514153
parentf777a5dfb1eecdb1a6359c6a81b457b4994c0ee8 (diff)
downloadshrinker-911cff2384de8146d32cb2b14ff1625bfba679c5.tar.gz
shrinker-911cff2384de8146d32cb2b14ff1625bfba679c5.zip
logs: be more quiet
-rw-r--r--api.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/api.py b/api.py
index 249c362..d4b664a 100644
--- a/api.py
+++ b/api.py
@@ -61,7 +61,6 @@ class Worker(object):
explicit_player = payload["playername"]
async with self._srcpool.acquire() as srccon:
async with self._destpool.acquire() as destcon:
- logging.debug("%s: processing '%s'", jobid, object_id)
async with srccon.transaction():
async with destcon.transaction():
# 1 object in raw : n objects in web
@@ -157,10 +156,8 @@ class Worker(object):
jobtype="process")
if jobid is None:
raise LookupError("no jobs available")
- logging.debug("%s: starting job", jobid)
await self._execute_job(jobid, payload, priority)
await self._queue.finish(jobid)
- logging.debug("%s: finished job", jobid)
async def run(self):
"""Start jobs forever."""
@@ -168,7 +165,6 @@ class Worker(object):
try:
await self._work()
except LookupError:
- logging.info("nothing to do, idling")
await asyncio.sleep(10)
async def start(self, number=1):