Merge branch 'master' into BUDI-8046/scim-logger
This commit is contained in:
commit
74f8c3fce8
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "2.21.3",
|
"version": "2.21.4",
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
"packages": [
|
"packages": [
|
||||||
"packages/*",
|
"packages/*",
|
||||||
|
|
|
@ -9,12 +9,13 @@ interface ProcessDocMessage {
|
||||||
data: Record<string, any>
|
data: Record<string, any>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const PERSIST_MAX_ATTEMPTS = 100
|
||||||
|
|
||||||
export const docWritethroughProcessorQueue = createQueue<ProcessDocMessage>(
|
export const docWritethroughProcessorQueue = createQueue<ProcessDocMessage>(
|
||||||
JobQueue.DOC_WRITETHROUGH_QUEUE,
|
JobQueue.DOC_WRITETHROUGH_QUEUE,
|
||||||
{
|
{
|
||||||
jobOptions: {
|
jobOptions: {
|
||||||
// We might have plenty of 409, we want to allow running almost infinitely
|
attempts: PERSIST_MAX_ATTEMPTS,
|
||||||
attempts: Number.MAX_SAFE_INTEGER,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue