Fix 64 bit int overflow in TakeANumberAccessQueueRepo #27
Labels
No Label
bug
enhancement
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: henry/AccessQueueService#27
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently
_nextUnusedTicket
and_nowServing
are unsigned 64 bit integers. If either ever overflows the queue will fall apart. For most implementations this won't happen since the max value is so high, but it's possible and should be mitigated.