after audit
This commit is contained in:
parent
e8e20637e6
commit
a5165dc3ba
80 changed files with 8489 additions and 7302 deletions
|
|
@ -229,7 +229,13 @@ class QueueJobRunner:
|
|||
error=str(exc),
|
||||
)
|
||||
await recovery_session.commit()
|
||||
logger.exception("scheduler.queue_item_run_failed", extra={"queue_item_id": job.id, "user_id": job.user_id})
|
||||
structured_log(
|
||||
logger,
|
||||
"exception",
|
||||
"scheduler.queue_item_run_failed",
|
||||
queue_item_id=job.id,
|
||||
user_id=job.user_id,
|
||||
)
|
||||
|
||||
async def _load_request_delay_for_user(self, user_id: int, *, floor: int) -> int:
|
||||
session_factory = get_session_factory()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue