Skip to content

Commit c8774a6

Browse files
author
Dylan Huang
committed
increase sql retries
1 parent 0144c9f commit c8774a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

eval_protocol/event_bus/sqlite_event_bus_database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212

1313
# Retry configuration for database operations
14-
SQLITE_RETRY_MAX_TRIES = 5
15-
SQLITE_RETRY_MAX_TIME = 30 # seconds
14+
SQLITE_RETRY_MAX_TRIES = 10
15+
SQLITE_RETRY_MAX_TIME = 60 # seconds
1616

1717

1818
def _is_database_locked_error(e: Exception) -> bool:

0 commit comments

Comments
 (0)