Skip to content

Commit af71e09

Browse files
committed
much longer base delay when 429 encountered
1 parent 7d5ef3e commit af71e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jetstreamer-firehose/src/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const METADATA_KEY_KIND: &[u8] = b"index_kind";
4949
const METADATA_KEY_EPOCH: &[u8] = b"epoch";
5050
const HTTP_PREFETCH_BYTES: u64 = 4 * 1024; // initial bytes to fetch for headers
5151
const FETCH_RANGE_MAX_RETRIES: usize = 10;
52-
const FETCH_RANGE_BASE_DELAY_MS: u64 = 2000;
52+
const FETCH_RANGE_BASE_DELAY_MS: u64 = 10000;
5353

5454
/// Errors returned while accessing the compact slot offset index.
5555
#[derive(Debug, Error)]

0 commit comments

Comments
 (0)