We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 493f788 commit 447f0c3Copy full SHA for 447f0c3
src/acquisition/covidcast/database.py
@@ -315,13 +315,13 @@ def worker():
315
try:
316
while True:
317
(source, signal) = srcsigs.get_nowait() # this will throw the Empty caught below
318
+ logger.info("starting pair", thread=name, pair=f"({source}, {signal})")
319
w_cursor.execute(inner_sql, (source, signal))
320
with meta_lock:
321
meta.extend(list(
322
dict(zip(w_cursor.column_names, x)) for x in w_cursor
323
))
324
srcsigs.task_done()
- logger.info("completed pair", thread=name, pair=f"({source}, {signal})")
325
except Empty:
326
logger.info("no jobs left, thread terminating", thread=name)
327
finally:
0 commit comments