-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Properly close transactions in indexer.py
`pg_conn.execute` opens a transaction automatically, and there are some situations where we weren't closing it. I made the change to capture Sentry exceptions not because I've seen issues there in practice, but because we don't want any potential errors there to block the subsequent transaction commit.
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters