tobymao/saq

Windows Support

lunden23 opened this issue · 2 comments

Hi, the methods

loop.add_signal_handler()
loop.remove_signal_handler()

are not supported on Windows per the asyncio documentation (see here: https://docs.python.org/3/library/asyncio-platforms.html#asyncio-windows-subprocess). For Celery it is possible to circumvent this by installing the gevent package and setting the "--pool=gevent" argument for the worker process.

I was wondering if it is possible to implement a similar argument for the SAQ settings or if that is out of scope? Thanks.

windows was already supported

SIGNALS = [signal.SIGINT, signal.SIGTERM] if os.name != "nt" else [signal.SIGTERM]

did something here change?

closing this as out of scope for now