Kasim
2015-09-17 07:19:26 UTC
I'am using a crawler , which have a scheduler and start 3 fetcher and 5 processor one time.
In terminal, I press Ctrl + C would stop it elegent.
But when I use supervisor to manager the crawler ,stop crawler stop it immediately which against my expect. stopwaitsecs seems not work too.
How could I achieve my purpose ?
my conf is like :
[program:crawler] ..... autostart=true autorestart=true ; killasgroup=true stopsignal=INT stopwaitsecs=10
------------------
best regards
yuyan
In terminal, I press Ctrl + C would stop it elegent.
But when I use supervisor to manager the crawler ,stop crawler stop it immediately which against my expect. stopwaitsecs seems not work too.
How could I achieve my purpose ?
my conf is like :
[program:crawler] ..... autostart=true autorestart=true ; killasgroup=true stopsignal=INT stopwaitsecs=10
------------------
best regards
yuyan