Skip to content
Snippets Groups Projects
Commit 7ee0cad0 authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 40849a5a
No related merge requests found
......@@ -14,6 +14,7 @@ const queue = createQueue({
export function createHttp(data) {
return queue
.create('http', data)
.removeOnComplete(true)
.events(false)
.attempts(8)
.backoff({ delay: 16384, type: 'exponential' });
......@@ -26,7 +27,7 @@ export function deliver(user, content, to) {
user,
content,
to
}).removeOnComplete(true).save();
}).save();
}
export default function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment