cloud: production gaps (worker loop + true cancel, task result columns + migration, DB interface migration, metrics + backup)
This commit is contained in:
1 parent
07ef869267
commit
631580beab
14 files changed
+956
-29
No files matched your search
+3
-1
@@ -21,6 +21,8 @@ import hmac
|
||||
import sqlite3
|
||||
import time
|
||||
|
||||
from cloud.db import connect as _db_connect
|
||||
|
||||
__all__ = [
|
||||
"verify_github_signature",
|
||||
"parse_github_pr_comment",
|
||||
@@ -155,7 +157,7 @@ class SlackUserMap:
|
||||
|
||||
def __init__(self, db_path):
|
||||
self.db_path = db_path
|
||||
self._conn = sqlite3.connect(db_path)
|
||||
self._conn = _db_connect(db_path)
|
||||
self._conn.execute(
|
||||
"CREATE TABLE IF NOT EXISTS slack_users ("
|
||||
"slack_id TEXT PRIMARY KEY, "
|
||||
|
||||
Reference in new issue
Block a user