Compare commits

..

4 Commits

Author SHA1 Message Date
hasslesstech 094662f59e [P] Add second agent in docker-compose.yaml
Component testing / Hub testing (push) Has been cancelled
Component testing / Store testing (push) Has been cancelled
Component testing / Integration smoke testing (push) Has been cancelled
2026-03-25 23:27:59 +02:00
hasslesstech 88454f381d [P] Add GPS file selection to agent 2026-03-25 23:27:59 +02:00
hasslesstech 119547d288 [P] Add TRACK_ID selection in MapView
Component testing / Hub testing (push) Successful in 41s
Component testing / Store testing (push) Successful in 24s
Component testing / Integration smoke testing (push) Successful in 2m30s
2026-03-25 23:27:20 +02:00
hasslesstech b58167f0de [P] Fix wrong row sending order
Component testing / Hub testing (push) Successful in 35s
Component testing / Store testing (push) Successful in 26s
Component testing / Integration smoke testing (push) Successful in 2m37s
2026-03-25 23:26:39 +02:00
+1 -1
View File
@@ -45,7 +45,7 @@ async def websocket_endpoint(websocket: WebSocket, user_id: int):
try: try:
# send already available data # send already available data
r = processed_agent_data.select() r = processed_agent_data.select().order_by(processed_agent_data.c.timestamp)
stored_data = SessionLocal().execute(r).fetchall() stored_data = SessionLocal().execute(r).fetchall()
jsonable_data = [{c.name: getattr(i, c.name) for c in processed_agent_data.columns} for i in stored_data] jsonable_data = [{c.name: getattr(i, c.name) for c in processed_agent_data.columns} for i in stored_data]