diff --git a/swh/storage/postgresql/storage.py b/swh/storage/postgresql/storage.py --- a/swh/storage/postgresql/storage.py +++ b/swh/storage/postgresql/storage.py @@ -105,7 +105,13 @@ """ def __init__( - self, db, objstorage, min_pool_conns=1, max_pool_conns=10, journal_writer=None + self, + db, + objstorage, + min_pool_conns=1, + max_pool_conns=10, + journal_writer=None, + query_options=None, ): """ Args: @@ -130,6 +136,7 @@ self.journal_writer = JournalWriter(journal_writer) self.objstorage = ObjStorage(objstorage) + self.query_options = query_options def get_db(self): if self._db: