mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #3497 from omnivore-app/fix/more-attempts
add more attempts for label and highlight jobs
This commit is contained in:
commit
9553540513
2 changed files with 5 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue