Skip to content

Commit

Permalink
fix: don't close the connection in the metric context manager (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry committed Dec 21, 2023
1 parent a67e8b1 commit 8615836
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion helpers/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ def populate(self):
f"{self.repo_slug}/{commit.commitid}" if self.repo_slug and commit else None
)

dbsession.close()
self.populated = True

def log_simple_metric(self, name: str, value: float):
Expand Down

0 comments on commit 8615836

Please sign in to comment.