{"version":"2.1.232","anchor":"shutdown-waits-up-to-1000ms-for-pending-work-to-flush","canonical_anchor":"shutdown-waits-up-to-1000ms-for-pending-work-to-flush","heading":"Shutdown waits up to 1000ms for pending work to flush","tier":"notice","area":"Shutdown","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232\/e\/shutdown-waits-up-to-1000ms-for-pending-work-to-flush","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232","markdown":"### Shutdown waits up to 1000ms for pending work to flush\n\nExit and relaunch now wait up to a second for pending work to flush before quitting.\n\n**What**\n\nRelaunch, exit and signal paths now run a drain step before the existing cleanup, capped at 1000ms, so in-flight work has a chance to finish being written out before the process goes away.\n\n**Details**\n\n- The relaunch path labels its timeout separately from the plain exit path, so shutdown logs distinguish the two.\n\n**Evidence**\n\n`pre-cleanup drain timeout (relaunch)`\n\n- Area: Shutdown\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}