diff options
Diffstat (limited to 'server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts')
-rw-r--r-- | server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts b/server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts index 2f1d9ee92..ccb008e4d 100644 --- a/server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts +++ b/server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts | |||
@@ -22,8 +22,9 @@ function onError (err: Error, jobId: number) { | |||
22 | return Promise.resolve() | 22 | return Promise.resolve() |
23 | } | 23 | } |
24 | 24 | ||
25 | async function onSuccess (jobId: number) { | 25 | function onSuccess (jobId: number) { |
26 | logger.info('Job %d is a success.', jobId) | 26 | logger.info('Job %d is a success.', jobId) |
27 | return Promise.resolve() | ||
27 | } | 28 | } |
28 | 29 | ||
29 | // --------------------------------------------------------------------------- | 30 | // --------------------------------------------------------------------------- |