change number of times to trigger the worker