delayed_job restart 会正确重启所有进程吗?

delayed_job restart would restart all processes correctly?

所以,当我开始做 DJ 时,我是这样做的:

RAILS_ENV=production ./script/delayed_job --pool=user,op,fb:2 --pool=mail,intercom,low,default:2 start

我的问题是:当我重新启动它时,我需要指定相同的参数吗?也就是说,以下命令是否足够?

RAILS_ENV=production ./script/delayed_job restart

或者我停止它,然后再次发出启动命令?

自己回答,是的。 DJ 将在它们自己的位置正确地重新启动当前进程。

2016-05-31T06:25:59+0000: [Worker(delayed_job host:*** pid:699)] Exiting...
2016-05-31T06:26:03+0000: [Worker(delayed_job host:*** pid:709)] Exiting...
2016-05-31T06:26:05+0000: [Worker(delayed_job host:*** pid:716)] Exiting...
2016-05-31T06:26:10+0000: [Worker(delayed_job host:*** pid:723)] Exiting...
2016-05-31T06:26:16+0000: [Worker(delayed_job host:*** pid:29890)] Starting job worker
2016-05-31T06:26:16+0000: [Worker(delayed_job host:*** pid:29897)] Starting job worker
2016-05-31T06:26:16+0000: [Worker(delayed_job host:*** pid:29915)] Starting job worker
2016-05-31T06:26:16+0000: [Worker(delayed_job host:*** pid:29907)] Starting job worker

类似的东西。