diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-04-05 01:05:50 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-05 01:05:50 +0900 |
| commit | 87d592c9c46e252edfd44d98f3ca1ec981c1e86f (patch) | |
| tree | 78800c67f3238c0fa506c22b8473ba7a8705e77c /src/queue/processors/http/index.ts | |
| parent | Merge pull request #1394 from akihikodaki/duplicate (diff) | |
| parent | Let unhandled rejection handler handle rejections in jobs (diff) | |
| download | misskey-87d592c9c46e252edfd44d98f3ca1ec981c1e86f.tar.gz misskey-87d592c9c46e252edfd44d98f3ca1ec981c1e86f.tar.bz2 misskey-87d592c9c46e252edfd44d98f3ca1ec981c1e86f.zip | |
Merge pull request #1395 from akihikodaki/duplicate
Let unhandled rejection handler handle rejections in jobs
Diffstat (limited to 'src/queue/processors/http/index.ts')
| -rw-r--r-- | src/queue/processors/http/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/processors/http/index.ts b/src/queue/processors/http/index.ts index 8f9aa717c3..0ea79305c6 100644 --- a/src/queue/processors/http/index.ts +++ b/src/queue/processors/http/index.ts @@ -14,4 +14,4 @@ const handlers = { unfollow }; -export default (job, done) => handlers[job.data.type](job).then(() => done(), done); +export default (job, done) => handlers[job.data.type](job, done); |