mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Merge branch 'limit_revisits' into qa
This commit is contained in:
commit
0dc80c6044
@ -96,7 +96,7 @@ class LimitRevisitsPGMixin():
|
||||
# datasource like "postgresql://user@db_host/db_name"
|
||||
# table name revisits
|
||||
try:
|
||||
self._conn = psycopg.connect(datasource)
|
||||
self._conn = psycopg.connect(datasource, prepare_threshold=None)
|
||||
except Exception as e:
|
||||
self.logger.warning("db connection failure: %s", e)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user