withoutOverlapping method create blow cache mutex
$this->cache->store($this->store)->add(
$event->mutexName(), true, $event->expiresAt
);
onOneServer method create blow cache mutex
$this->cache->store($this->store)->add(
$event->mutexName().$time->format('Hi'), true, 60
);
look like ,if i use withoutOverlapping then not need onOneServer
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire