More attempts now that lock timeouts are lower

This commit is contained in:
Jackson Harper
2024-02-03 19:08:13 +08:00
parent dde80091b4
commit 0a38cd6422

View File

@ -695,7 +695,7 @@ export const bulkEnqueueUpdateLabels = async (data: UpdateLabelsData[]) => {
name: UPDATE_LABELS_JOB,
data: d,
opts: {
attempts: 3,
attempts: 6,
priority: 1,
backoff: {
type: 'exponential',
@ -720,7 +720,7 @@ export const enqueueUpdateHighlight = async (data: UpdateHighlightData) => {
try {
return queue.add(UPDATE_HIGHLIGHT_JOB, data, {
attempts: 3,
attempts: 6,
priority: 1,
backoff: {
type: 'exponential',