SIENTIAPDE-994

Worker fixes
This commit is contained in:
vitor-aignosi
2025-05-13 12:01:12 -03:00
parent 1156037e08
commit 5fe552410b

View File

@@ -37,9 +37,9 @@ async def main():
postgres_config = {
'host': os.getenv('POSTGRES_HOST', 'localhost'),
'port': int(os.getenv('POSTGRES_PORT', '5432')),
'user': os.getenv('POSTGRES_USER', 'postgres'),
'password': os.getenv('POSTGRES_PASSWORD', 'postgres'),
'dbname': os.getenv('POSTGRES_DBNAME', 'postgres'),
'user': os.getenv('POSTGRES_USER', 'sientia'),
'password': os.getenv('POSTGRES_PASSWORD', 'sientia'),
'dbname': os.getenv('POSTGRES_DBNAME', 'sientia'),
'min_connections': int(os.getenv('POSTGRES_MIN_CONNECTIONS', '5')),
'max_connections': int(os.getenv('POSTGRES_MAX_CONNECTIONS', '20'))
}