onConnection('provisioning'); $this->onQueue('provisioning'); } public function handle(WireguardHub $hub): void { // Every hub mutation takes this lock so SyncVpnPeers cannot read the // interface around it and then write what it saw — a peer removed here // would otherwise be reported back as a live access. Cache::lock('wireguard:hub', 30)->block(10, fn () => $hub->removePeer($this->publicKey)); } }