Fresque icon indicating copy to clipboard operation
Fresque copied to clipboard

fresque stop doesn't clear workers after stopping them

Open shift90 opened this issue 10 years ago • 2 comments

running fresque stop does stop the workers. but if you then run fresque stats, it still shows the workers as active. fresque stop should also notify ResqueStatus that the worker no longer exists

shift90 avatar Aug 25 '14 02:08 shift90

Does this happen if you check the stats multiple times? I have found that it takes "fresque stats" a few seconds after a "fresque stop" for the worker status to update.

leto avatar Aug 25 '14 16:08 leto

Stopping a worker does not immediately stop the workers. It just sends a KILL command to the worker process, and may take up to x time to process, where x is the number of seconds between each polling (the -i arg).

wa0x6e avatar Aug 25 '14 22:08 wa0x6e