Skip to content

Commit a2f2af4

Browse files
authored
Increase mistral backoff (#848)
1 parent 1c384ac commit a2f2af4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/mistral/modelgauge/suts/mistral_client.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
from modelgauge.secret_values import RequiredSecret, SecretDescription
66

7-
BACKOFF_INITIAL_MILLIS = 500
8-
BACKOFF_MAX_INTERVAL_MILLIS = 10_000
9-
BACKOFF_EXPONENT = 1.1
10-
BACKOFF_MAX_ELAPSED_MILLIS = 120_000
7+
BACKOFF_INITIAL_MILLIS = 1000
8+
BACKOFF_MAX_INTERVAL_MILLIS = 100_000
9+
BACKOFF_EXPONENT = 1.9
10+
BACKOFF_MAX_ELAPSED_MILLIS = 86_400_000 # 1 day
1111

1212

1313
class MistralAIAPIKey(RequiredSecret):

0 commit comments

Comments
 (0)