yjs / y-redis

Alternative backend for y-websocket
GNU Affero General Public License v3.0
176 stars 39 forks source link

feat: graceful shutdown #18

Closed beorn closed 4 months ago

beorn commented 4 months ago

When running as PID=1 under Docker, SIGTERM/SIGINT need to be manually caught and handled, so when Docker is shutting down the servers don't shut down immediately but hang around until Docker gets tired (after 10 seconds) and forcefully kills them.

dmonad commented 4 months ago

Thanks!