Skip to content

Commit

Permalink
Merge pull request #1124 from permaweb/jfrain99/add-scheduler-utils-b…
Browse files Browse the repository at this point in the history
…ackoff

feat(cu): add backoff to sched-utils backoff
  • Loading branch information
jfrain99 authored Jan 27, 2025
2 parents f06ed81 + 05a3e82 commit 5bdecc9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion servers/cu/src/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ export const createApis = async (ctx) => {
const { locate } = schedulerUtilsConnect({
cacheSize: 100,
GRAPHQL_URL: ctx.GRAPHQL_URL,
followRedirects: true
followRedirects: true,
GRAPHQL_MAX_RETRIES: 5,
GRAPHQL_RETRY_BACKOFF: 300
})
const locateDataloader = new Dataloader(async (params) => {
/**
Expand Down

0 comments on commit 5bdecc9

Please sign in to comment.