keep postgress connections open and switch tasks between them

This commit is contained in:
Bill
2025-11-18 13:08:32 -07:00
parent ac61f58f01
commit 2888c0b5e7
2 changed files with 56 additions and 61 deletions

View File

@@ -16,7 +16,7 @@ DB_PORT = "5433" # <-- Your local Docker port
DB_NAME = "postgres"
# Global Configuration
BLAST_RADIUS = 312500 # Rows per parallel task (1M / 62500 = 16 partitions)
BLAST_RADIUS = 125000 # Rows per parallel task (1M / 62500 = 16 partitions)
# SQLAlchemy connection string (for Pandas)
sqlalchemy_conn_str = f"postgresql://{DB_USER}:{DB_PASS}@{DB_HOST}:{DB_PORT}/{DB_NAME}"