Commit 452dd83
opencode
access-controller: bump WIEGAND_CHANNEL to 16 (C6)
Capacity-4 channel could silently drop swipes whenever access_task
backpressured on a held lock. Audited http.rs: status page, /config
GET, /fobs GET, and /fobs (add|delete) POST all already snapshot
under their guards and drop before socket I/O; /ota upload doesn't
touch those mutexes. So channel depth was the remaining gap.
Bumped to 16, which absorbs a worst-case burst (a slow-but-eventually-
returning HTTP handler that briefly holds a mutex) without losing
physical swipes.1 parent 1909322 commit 452dd83
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
0 commit comments