Skip to content

Commit

Permalink
docs: update const description
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed Oct 30, 2024
1 parent 1499cd1 commit f3ae551
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ export const GET_ALL_QUERY_DELAY = 500
const DEFUALT_RETRY_AFTER_MS = 1000

/**
* The maximum number of attemps to retry a query with an invalid ref before
* halting. We allow multiple attemps as each attemp may return a different ref.
* Capping the number of attemps prevents infinite loops.
* The maximum number of attemps to retry a query with an invalid ref. We allow
* multiple attempts since each attempt may use a different (and possibly
* invalid) ref. Capping the number of attemps prevents infinite loops.
*/
const MAX_INVALID_REF_RETRY_ATTEMPS = 3

Expand Down

0 comments on commit f3ae551

Please sign in to comment.