diff --git a/src/pyob/dashboard_server.py b/src/pyob/dashboard_server.py index 31bf959..a016810 100644 --- a/src/pyob/dashboard_server.py +++ b/src/pyob/dashboard_server.py @@ -74,7 +74,8 @@ def acknowledge_issue(issue_id): "timestamp": datetime.now().isoformat(), } - # Save updated statuses + # Save updated statuses + with status_lock: # Acquire lock before writing shared resource with open(status_file, "w", encoding="utf-8") as f: json.dump(issue_statuses, f, indent=4)