Compare commits

...

2 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
32e85399bf Fix _reload_requested tight-loop: reset flag before reload to capture concurrent SIGHUPs
Co-authored-by: seanthegeek <44679+seanthegeek@users.noreply.github.com>
Agent-Logs-Url: https://github.com/domainaware/parsedmarc/sessions/879d0bb1-9037-41f7-bc89-f59611956d2e
2026-03-20 21:30:35 +00:00
copilot-swe-agent[bot]
c3876bb9d9 Initial plan 2026-03-20 21:26:34 +00:00

View File

@@ -2027,7 +2027,10 @@ def _main():
if not _reload_requested:
break
# Reload configuration
# Reload configuration — clear the flag first so that any new
# SIGHUP arriving while we reload will be captured for the next
# iteration rather than being silently dropped.
_reload_requested = False
logger.info("Reloading configuration...")
try:
# Build a fresh opts starting from CLI-only defaults so that