This commit is contained in:
ilyastar9999
2025-12-04 14:09:19 +03:00
parent 0b48f69969
commit d69ccb038c
2 changed files with 1 additions and 3 deletions

View File

@@ -1,5 +1,3 @@
version: '3.8'
services: services:
# Shared PostgreSQL database for controller and scoreboard # Shared PostgreSQL database for controller and scoreboard
postgres: postgres:

View File

@@ -273,7 +273,7 @@ async def socketio_listener():
elif is_attack_to_us: elif is_attack_to_us:
if fp_value >= ALERT_THRESHOLD_POINTS: if fp_value >= ALERT_THRESHOLD_POINTS:
await check_and_create_alerts(conn, 0, service_name) await check_and_create_alerts(conn, 0, service_name)
finally: finally:
await db_pool.release(conn) await db_pool.release(conn)
except Exception as e: except Exception as e: