omnilight / yii2-scheduling

Scheduling extension for Yii2 framework
MIT License
315 stars 83 forks source link

Method withoutOverlapping() no effects #65

Open ilichev-aleksey opened 4 years ago

ilichev-aleksey commented 4 years ago

With repeated calls, a new copy of the process is launched each time.

aaronbushnell commented 1 year ago

You may have likely solved this since this was years ago. But I believe Yii's Redis-based mutex service has an "auto release" of 30 seconds.

I suspect that setting is emptying out the mutex lock required to prevent overlapping jobs in your case.