mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-27 10:00:38 +00:00
It's better to request the tasks to shut down only after setting the timeline state to Stopping. Otherwise, it's possible that a new task spawns after we have waited for the existing tasks to shut down, but before we have changed the state. We would fail to wait for them. Feels nicer from a readability point of view too.