mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-05 02:09:02 +09:00
Update queue setting
This commit is contained in:
parent
46c258d77a
commit
4f2d52697d
@ -34,8 +34,8 @@ function initializeQueue() {
|
||||
export function createHttpJob(data: any) {
|
||||
if (queueAvailable) {
|
||||
return queue.createJob(data)
|
||||
.retries(4)
|
||||
.backoff('exponential', 16384) // 16s
|
||||
.retries(3)
|
||||
.backoff('exponential', 1000)
|
||||
.save();
|
||||
} else {
|
||||
return handler({ data }, () => {});
|
||||
|
Loading…
Reference in New Issue
Block a user