1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Merge branch 'master' into BUDI-8046/scim-logger

This commit is contained in:
Adria Navarro 2024-03-07 14:24:16 +01:00 committed by GitHub
commit 74f8c3fce8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{
"version": "2.21.3",
"version": "2.21.4",
"npmClient": "yarn",
"packages": [
"packages/*",

View file

@ -9,12 +9,13 @@ interface ProcessDocMessage {
data: Record<string, any>
}
const PERSIST_MAX_ATTEMPTS = 100
export const docWritethroughProcessorQueue = createQueue<ProcessDocMessage>(
JobQueue.DOC_WRITETHROUGH_QUEUE,
{
jobOptions: {
// We might have plenty of 409, we want to allow running almost infinitely
attempts: Number.MAX_SAFE_INTEGER,
attempts: PERSIST_MAX_ATTEMPTS,
},
}
)