Skip to content

Commit

Permalink
Lower ensurePrimaryMiddleware maxRetries #4193
Browse files Browse the repository at this point in the history
  • Loading branch information
SidSethi committed Oct 26, 2022
1 parent 6e79f1d commit efed42e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions creator-node/src/services/ContentNodeInfoManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export async function getReplicaSetSpIdsByUserId({
* If `blockNumber` provided, poll contract until it has indexed that blocknumber (for up to 200 seconds)
*/
if (blockNumber) {
const MAX_RETRIES = 10
const MAX_RETRIES = 7

let errorMsg = null
await asyncRetry({
Expand Down Expand Up @@ -221,7 +221,7 @@ export async function getReplicaSetSpIdsByUserId({
* Error if still mismatched after specified timeout
*/

const MAX_RETRIES = 10
const MAX_RETRIES = 7
let errorMsg = null
await asyncRetry({
logLabel: 'getReplicaSetSpIdsByUserId',
Expand Down

0 comments on commit efed42e

Please sign in to comment.