feat: add worker job-claim logic
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import os
|
||||
|
||||
import psycopg
|
||||
|
||||
|
||||
def connect() -> psycopg.Connection:
|
||||
dsn = os.environ["DATABASE_URL"]
|
||||
return psycopg.connect(dsn)
|
||||
Reference in New Issue
Block a user