Skip to content

Commit eff1f57

Browse files
authored
chore: handle gitlab rate limit errors better (CM-694) (#3518)
Signed-off-by: Uroš Marolt <uros@marolt.me>
1 parent e662dc2 commit eff1f57

18 files changed

Lines changed: 545 additions & 91 deletions

pnpm-lock.yaml

Lines changed: 97 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/apps/integration_stream_worker/config/default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"redis": {},
55
"nango": {},
66
"worker": {
7-
"maxStreamRetries": 5,
7+
"maxStreamRetries": 10,
88
"queuePriorityLevel": "normal"
99
},
1010
"slack": {

services/apps/integration_stream_worker/src/bin/process-stream.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,6 @@ setImmediate(async () => {
8383
process.exit(1)
8484
}
8585
}
86+
87+
process.exit(0)
8688
})

services/libs/integrations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@crowd/telemetry": "workspace:*",
2121
"@crowd/types": "workspace:*",
2222
"@crowd/snowflake": "workspace:*",
23-
"@gitbeaker/rest": "^40.1.2",
23+
"@gitbeaker/rest": "^43.5.0",
2424
"@octokit/auth-app": "^4.0.13",
2525
"@octokit/graphql": "^5.0.6",
2626
"axios": "^1.4.0",

0 commit comments

Comments
 (0)