Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9348500
D8124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
776 B
Subscribers
None
D8124.diff
View Options
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
@@ -1176,7 +1176,7 @@
return PagedResult(results=visits, next_page_token=next_page_token)
- @db_transaction(statement_timeout=500)
+ @db_transaction(statement_timeout=2000)
def origin_visit_get_with_statuses(
self,
origin: str,
@@ -1234,7 +1234,7 @@
return PagedResult(results=results, next_page_token=next_page_token)
- @db_transaction(statement_timeout=1000)
+ @db_transaction(statement_timeout=2000)
def origin_visit_find_by_date(
self, origin: str, visit_date: datetime.datetime, *, db: Db, cur=None
) -> Optional[OriginVisit]:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 6:34 PM (5 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216488
Attached To
D8124: postgresql: Increase some timeouts to get origin visits
Event Timeline
Log In to Comment