[30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway.
This commit is contained in:
16
ARCHIVE_legacy_scripts/debug_zombie.py
Normal file
16
ARCHIVE_legacy_scripts/debug_zombie.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import sqlite3
|
||||
import os
|
||||
|
||||
DB_PATH = "/app/connector_queue.db"
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(f"📊 Accessing database at {DB_PATH}")
|
||||
print("📊 Listing last 20 jobs in database...")
|
||||
with sqlite3.connect(DB_PATH) as conn:
|
||||
conn.row_factory = sqlite3.Row
|
||||
cursor = conn.cursor()
|
||||
cursor.execute("SELECT id, status, event_type, updated_at FROM jobs ORDER BY id DESC LIMIT 20")
|
||||
rows = cursor.fetchall()
|
||||
for r in rows:
|
||||
print(f" - Job {r['id']}: {r['status']} ({r['event_type']}) - Updated: {r['updated_at']}")
|
||||
|
||||
Reference in New Issue
Block a user