私はLaravel Cache Documentationを読んでいましたが、ロックをジョブに移行してから
- 次のように、所有者を介してインスタンスを復元した後に解放されます
Cache::restoreLock('processing', $this->owner)->release();
- または現在の所有者を尊重しない、のように
Cache::lock('processing')->forceRelease();
それは私を質問に導きますwhat's the difference between them?
、、または多分what are the use cases for each of them?
誰でも説明できるので、とても感謝しています。