{"version":"2.1.281","anchor":"daemon-supervisor-status-writes-are-serialized-and-retried","canonical_anchor":"daemon-supervisor-status-writes-are-serialized-and-retried","heading":"Daemon supervisor status writes are serialized and retried","tier":"internal","area":"Elsewhere","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/daemon-supervisor-status-writes-are-serialized-and-retried","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Daemon supervisor status writes are serialized and retried\n\nThe background daemon now writes worker status one write at a time, retries failed writes, and finishes them before stopping\n\n**What**\n\nA daemon is a program that keeps running in the background. Its supervisor, the part that manages worker processes, now saves each worker's status one write at a time instead of several at once. A failed write is tried again after a short delay. When the supervisor stops, it waits for any pending write to finish before cleaning up.\n\n**Why**\n\nStatus writes no longer overlap or get cut off at shutdown, so the saved status is less likely to be wrong or incomplete.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}