mirror of
https://github.com/wassname/talk.git
synced 2026-07-07 01:41:27 +08:00
[CORl-640] User Registration Race (#2583)
* fix: fixes user registration endpoints - fixes #2579 * feat: cleanup from review - Added seperate create function - Moved some validation around * fix: linting
This commit is contained in:
@@ -70,7 +70,10 @@ export default class Task<T, U = any> {
|
||||
*/
|
||||
public process() {
|
||||
this.queue.process(async (job: Job<T>) => {
|
||||
const log = this.log.child({ jobID: job.id }, true);
|
||||
const log = this.log.child(
|
||||
{ jobID: job.id, attemptsMade: job.attemptsMade },
|
||||
true
|
||||
);
|
||||
|
||||
log.trace("processing job from queue");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user