[DiscordArchive] Is it worth adding in save behavior when the worldserver receives a SIGINT?
[DiscordArchive] Is it worth adding in save behavior when the worldserver receives a SIGINT?
Archived author: mynameismeat • Posted: 2023-01-13T14:44:45.296000+00:00
Original source
Is it worth adding in save behavior when the worldserver receives a SIGINT?
Archived author: Rymercyble • Posted: 2023-01-13T14:46:45.639000+00:00
Original source
i dont think so if u want to shutdown properly just call shutdown u dont know if there is happening more than just char save
Archived author: mynameismeat • Posted: 2023-01-13T14:51:03.710000+00:00
Original source
I don't agree, I think a ctrl+c should do a safe shutdown.
Many other terminal applications use ctrl+c to initiate a safe shutdown, and I think its' worth following common idioms of other applications. for example, running ctrl+c during `docker-compose up` stops the containers as safely as it can
Archived author: Rymercyble • Posted: 2023-01-13T14:54:02.671000+00:00
Original source
i didnt mean its not good to do it just that its not worth it....why would u want to constantly shutdown with ctrl c safely
Archived author: Rymercyble • Posted: 2023-01-13T15:00:33.315000+00:00
Original source
i mean if some1 adds it sure why not but it couldnt have lower priority
Archived author: Honey • Posted: 2023-01-13T15:06:13.047000+00:00
Original source
Ctrl+c is my exit route, which allows testing the same thing multiple times without character saves, don't you dare saving on ctrl+c
Archived author: mynameismeat • Posted: 2023-01-13T15:10:39.483000+00:00
Original source
Maybe it could be something configurable? ie `SaveOnSigInt`, or `SigIntSafeShutdown`. Idk, I kinda have muscle memory for ctrl+c and I'm sure I'm not the only one.
hrug:621790041915654155>
Archived author: mynameismeat • Posted: 2023-01-13T15:10:59.542000+00:00
Original source
but if it's not wanted, it's not wanted <
hrug:621790041915654155>
Archived author: Rymercyble • Posted: 2023-01-13T15:12:16.258000+00:00
Original source
i dont rly think it even matters in testing at worst u will not save save ur char which if u want to u can just have macro to do it
Archived author: Rymercyble • Posted: 2023-01-13T15:14:06.278000+00:00
Original source
hopefully u are not quitting ur regular server for serious playing like that