Merge pull request #3497 from omnivore-app/fix/more-attempts
add more attempts for label and highlight jobs
This commit is contained in:
@ -129,6 +129,9 @@ export const isContentFetchBlocked = (feedUrl: string) => {
|
||||
if (feedUrl.startsWith('https://rss.arxiv.org')) {
|
||||
return true
|
||||
}
|
||||
if (feedUrl.startsWith('https://rsshub.app')) {
|
||||
return true
|
||||
}
|
||||
if (feedUrl.startsWith('https://xkcd.com')) {
|
||||
return true
|
||||
}
|
||||
|
||||
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user