Two concurrent workers could both read the old last_seen_at, pass the in-memory comparison and save in reverse order, rewinding presence. The guard now lives in the WHERE clause of a single conditional UPDATE, so last_seen_at only ever advances even under concurrent ingestion. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Console/Commands | ||
| Events | ||
| Http/Controllers | ||
| Jobs | ||
| Livewire | ||
| Models | ||
| Providers | ||
| Services | ||
| Support | ||