asd
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user