Closed eugene-nikolaev closed 8 months ago
Ah it seems bot.stop is not released yet
@eugene-nikolaev Hi! Yes, try using the master branch for now (until the next release)
trap("TERM")
seems not be working for me in the master as well.
The program just exits instantly without calling the handler.
I've checked trap("QUIT")
and it calls it (though not closing the program for sure).
trap("TERM")
seems not be working for me in the master as well. The program just exits instantly without calling the handler.I've checked
trap("QUIT")
and it calls it (though not closing the program for sure).
You're writing about TERM
signal, but quoting documentation about INT
.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Hi!
TERM trap does not work for me as in README:
I'm not sure - no chance to dig deeper at the moment, but it seems Faraday sets it's own trap and handles TERM that wait so program waits for the connection timeout and then exits. "bot stop" trap isn't called.
Maybe it is possible to disable Faraday's handler somehow 🤷