Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.smqueue: Simplify compat table, fix dependent modules (thanks Martin) | Kim Alvefur | 2021-12-16 | 1 | -0/+26 |
| | | | | | | There was an off-by-one in the modulo calculation. Switching to a plain old array-table makes the apparent size of the queue wrong, but since some of the queue may not be available this is likely for the best. | ||||
* | util.smqueue: Abstract queue with acknowledgements and overflow | Kim Alvefur | 2021-12-14 | 1 | -0/+55 |
Meant to be used in mod_smacks for XEP-0198 Meant to have a larger virtual size than actual number of items stored, on the theory that in most cases, the excess will be acked before needed for a resumption event. |