fix: always remove completed tasks (#8771)
This commit is contained in:
		| @@ -305,11 +305,13 @@ export default function() { | ||||
| 	systemQueue.add('resyncCharts', { | ||||
| 	}, { | ||||
| 		repeat: { cron: '0 0 * * *' }, | ||||
| 		removeOnComplete: true, | ||||
| 	}); | ||||
|  | ||||
| 	systemQueue.add('cleanCharts', { | ||||
| 	}, { | ||||
| 		repeat: { cron: '0 0 * * *' }, | ||||
| 		removeOnComplete: true, | ||||
| 	}); | ||||
|  | ||||
| 	systemQueue.add('checkExpiredMutings', { | ||||
|   | ||||
| @@ -312,7 +312,8 @@ export default async (user: { id: User['id']; username: User['username']; host: | ||||
| 		endedPollNotificationQueue.add({ | ||||
| 			noteId: note.id, | ||||
| 		}, { | ||||
| 			delay | ||||
| 			delay, | ||||
| 			removeOnComplete: true, | ||||
| 		}); | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Johann150
					Johann150