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
+2
-1
@@ -14,6 +14,7 @@ Design notes:
|
||||
|
||||
import json
|
||||
import sqlite3
|
||||
from cloud.db import connect as _db_connect
|
||||
import time
|
||||
|
||||
|
||||
@@ -22,7 +23,7 @@ class MemoryStore:
|
||||
|
||||
def __init__(self, db_path):
|
||||
self.db_path = db_path
|
||||
self.conn = sqlite3.connect(db_path)
|
||||
self.conn = _db_connect(db_path)
|
||||
self.conn.row_factory = sqlite3.Row
|
||||
self.conn.execute(
|
||||
"""CREATE TABLE IF NOT EXISTS summaries(
|
||||
|
||||
Reference in new issue
Block a user