Open bkline opened 7 years ago
The comments for issue #22 lead me to think that adding an optional keyword argument to SchedulerServer.run()
would be preferable to using the settings
dictionary in the view of the project maintainers. Do you agree? Have any preferences for the argument's name?
There are environments in which it is undesirable to register a handler for the SIGINT signal (for example, when running under a service manager framework which runs the scheduler in a thread other than the primary thread). It is possible to bypass this registration by overriding
SchedulerServer.run()
but that approach has its own drawbacks. Better would be to either accept an optional keyword argument torun()
to suppress the call tosignal.signal
or (possibly more elegant) support a flag in thesettings
dictionary. What do you think?