Merge "Pass timeout as kwarg"

This commit is contained in:
Zuul 2024-07-25 12:00:30 +00:00 committed by Gerrit Code Review
commit c581f85b7f

View File

@ -138,7 +138,8 @@ class GreenDBConnection(sqlite3.Connection):
timeout = BROKER_TIMEOUT
self.timeout = timeout
self.db_file = database
super(GreenDBConnection, self).__init__(database, 0, *args, **kwargs)
super(GreenDBConnection, self).__init__(
database, timeout=0, *args, **kwargs)
def cursor(self, cls=None):
if cls is None: