diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-03-09 18:15:44 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-03-09 18:15:44 +0900 |
| commit | 948a133b7bf6744e57ea0751ba1d8ed7e2f90eda (patch) | |
| tree | 8569814ffd22e921812d01da862794497e073fcb /src/queue | |
| parent | 10.92.3 (diff) | |
| download | sharkey-948a133b7bf6744e57ea0751ba1d8ed7e2f90eda.tar.gz sharkey-948a133b7bf6744e57ea0751ba1d8ed7e2f90eda.tar.bz2 sharkey-948a133b7bf6744e57ea0751ba1d8ed7e2f90eda.zip | |
Fix log
Diffstat (limited to 'src/queue')
| -rw-r--r-- | src/queue/index.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts index 3b3f0b72b5..eccb38b5e2 100644 --- a/src/queue/index.ts +++ b/src/queue/index.ts @@ -38,11 +38,11 @@ deliverQueue inboxQueue .on('waiting', (jobId) => inboxLogger.debug(`waiting id=${jobId}`)) - .on('active', (job) => inboxLogger.debug(`active id=${job.id} to=${job.data.to}`)) - .on('completed', (job, result) => inboxLogger.debug(`completed(${result}) id=${job.id} to=${job.data.to}`)) - .on('failed', (job, err) => inboxLogger.debug(`failed(${err}) id=${job.id} to=${job.data.to}`)) + .on('active', (job) => inboxLogger.debug(`active id=${job.id}`)) + .on('completed', (job, result) => inboxLogger.debug(`completed(${result}) id=${job.id}`)) + .on('failed', (job, err) => inboxLogger.debug(`failed(${err}) id=${job.id}`)) .on('error', (error) => inboxLogger.error(`error ${error}`)) - .on('stalled', (job) => inboxLogger.warn(`stalled id=${job.id} to=${job.data.to}`)); + .on('stalled', (job) => inboxLogger.warn(`stalled id=${job.id}`)); export function deliver(user: ILocalUser, content: any, to: any) { if (content == null) return null; |