summaryrefslogtreecommitdiff
path: root/src/queue
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue')
-rw-r--r--src/queue/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts
index 01c02c7081..d5294f8367 100644
--- a/src/queue/index.ts
+++ b/src/queue/index.ts
@@ -40,6 +40,7 @@ export function deliver(user: ILocalUser, content: any, to: any) {
type: 'exponential',
delay: 1000
},
+ lifo: true,
removeOnComplete: true,
removeOnFail: true
});
@@ -57,6 +58,7 @@ export function inbox(activity: any, signature: httpSignature.IParsedSignature)
type: 'exponential',
delay: 1000
},
+ lifo: true,
removeOnComplete: true,
removeOnFail: true
});