feat: add worker job-claim logic

This commit is contained in:
Jonathan
2026-07-10 16:58:28 +02:00
parent 8085ed719f
commit 49b69c592d
4 changed files with 104 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import os
import psycopg
def connect() -> psycopg.Connection:
dsn = os.environ["DATABASE_URL"]
return psycopg.connect(dsn)