--Added Features in feat.txt
This commit is contained in:
george committed 2026-09-22 15:45:48 +05:30
1 parent 7d66c24430
commit cd99831abc
2 files changed
+24 -1

No files matched your search

+11 -1
View File
@@ -93,7 +93,7 @@ def root():
#{
# "host": "172.16.10.178",
# "node_name = "node3",
# "node_name :"node3",
# "port": 5444,
# "dbname": "postgres",
# "user": "postgres",
@@ -198,6 +198,16 @@ def get_replication_health(data: NodeStatusRequest):
conn.close()
# {
# "node_name": "node3",
# "host": "172.16.10.178",
# "port": 5444,
# "dbname": "postgres",
# "user": "postgres",
# "password": "postgres"
# }
@app.websocket("/ws/node/replication-health")
async def replication_monitor(websocket: WebSocket):
await websocket.accept()