Reduce refresh-all-feeds priority

This commit is contained in:
Jackson Harper 2024-01-19 16:59:15 +08:00
parent e06ff24cea
commit d2491d3eb7

View file

@ -94,7 +94,13 @@ export const queueRSSRefreshAllFeedsJob = async () => {
if (!queue) {
return false
}
return queue.add('refresh-all-feeds', {})
return queue.add(
'refresh-all-feeds',
{},
{
priority: 100,
}
)
}
type QueuePriority = 'low' | 'high'