Forums WoW Modding Support Archives Azerothcore Discord Archives [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?

[DiscordArchive] Is it worth adding in save behavior when the worldserver receives a SIGINT?

rektbyfaith
Administrator
0
01-13-2023, 02:44 PM
#1
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?
rektbyfaith
01-13-2023, 02:44 PM #1

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?

rektbyfaith
Administrator
0
01-13-2023, 02:46 PM
#2
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
rektbyfaith
01-13-2023, 02:46 PM #2

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

rektbyfaith
Administrator
0
01-13-2023, 02:51 PM
#3
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
rektbyfaith
01-13-2023, 02:51 PM #3

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

rektbyfaith
Administrator
0
01-13-2023, 02:54 PM
#4
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
rektbyfaith
01-13-2023, 02:54 PM #4

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

rektbyfaith
Administrator
0
01-13-2023, 03:00 PM
#5
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
rektbyfaith
01-13-2023, 03:00 PM #5

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

rektbyfaith
Administrator
0
01-13-2023, 03:06 PM
#6
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
rektbyfaith
01-13-2023, 03:06 PM #6

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

rektbyfaith
Administrator
0
01-13-2023, 03:10 PM
#7
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.
rektbyfaith
01-13-2023, 03:10 PM #7

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.

rektbyfaith
Administrator
0
01-13-2023, 03:10 PM
#8
Archived author: mynameismeat • Posted: 2023-01-13T15:10:59.542000+00:00
Original source

but if it's not wanted, it's not wanted <Confusedhrug:621790041915654155>
rektbyfaith
01-13-2023, 03:10 PM #8

Archived author: mynameismeat • Posted: 2023-01-13T15:10:59.542000+00:00
Original source

but if it's not wanted, it's not wanted <Confusedhrug:621790041915654155>

rektbyfaith
Administrator
0
01-13-2023, 03:12 PM
#9
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
rektbyfaith
01-13-2023, 03:12 PM #9

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

rektbyfaith
Administrator
0
01-13-2023, 03:14 PM
#10
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
rektbyfaith
01-13-2023, 03:14 PM #10

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)