mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Update job queue settings
This commit is contained in:
parent
9cd78999c1
commit
2a6183a56f
@ -12,7 +12,10 @@ const queue = new Queue('misskey', {
|
||||
},
|
||||
|
||||
removeOnSuccess: true,
|
||||
removeOnFailure: true
|
||||
removeOnFailure: true,
|
||||
getEvents: false,
|
||||
sendEvents: false,
|
||||
storeJobs: false
|
||||
});
|
||||
|
||||
export function createHttpJob(data: any) {
|
||||
@ -32,5 +35,5 @@ export function deliver(user: ILocalUser, content: any, to: any) {
|
||||
}
|
||||
|
||||
export default function() {
|
||||
queue.process(8, http);
|
||||
queue.process(128, http);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user