<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: util/smqueue.lua history</title>
    <description>util/smqueue.lua revision history</description>
    <item>
    <title>util.smqueue: Refactor checkpoint logic and add tests</title>
    <link>http://hg.omfa.de/prosody-hg/log/73903352de86/util/smqueue.lua</link>
    <description><![CDATA[util.smqueue: Refactor checkpoint logic and add tests<br/>
<br/>
The previous checkpoint logic used recursion, and the code was more complex<br/>
than needed due to maintenance of the self._next_checkpoint field.<br/>
<br/>
This switches to a loop, which should be a bit more efficient, partly because<br/>
there are fewer calls (although it was a tail call) and because table lookups<br/>
can now be cached between each execution.<br/>
<br/>
_call_checkpoints() is now called unconditionally for every ack, which is<br/>
simpler though adds a function call, it should be more than balanced out by<br/>
the other changes.]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Tue, 26 May 2026 15:36:36 +0100</pubDate>
</item>
<item>
    <title>util.smqueue: Backport changes to Teal source</title>
    <link>http://hg.omfa.de/prosody-hg/log/1e01b91cf94d/util/smqueue.lua</link>
    <description><![CDATA[util.smqueue: Backport changes to Teal source]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 07 Dec 2025 15:13:09 +0100</pubDate>
</item>
<item>
    <title>util.smqueue: Fix syntax error in df970d2dac45 from bad merge (thanks Link Mauve)</title>
    <link>http://hg.omfa.de/prosody-hg/log/21126415c8a0/util/smqueue.lua</link>
    <description><![CDATA[util.smqueue: Fix syntax error in df970d2dac45 from bad merge (thanks Link Mauve)]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 07 Dec 2025 10:17:32 +0000</pubDate>
</item>
<item>
    <title>util.smqueue: Add &quot;checkpoints&quot; API to run code on successful stanza delivery</title>
    <link>http://hg.omfa.de/prosody-hg/log/df970d2dac45/util/smqueue.lua</link>
    <description><![CDATA[util.smqueue: Add &quot;checkpoints&quot; API to run code on successful stanza delivery]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 06 Dec 2025 15:57:36 +0000</pubDate>
</item>
<item>
    <title>util.smqueue: Minor reformatting for code style, add some comments</title>
    <link>http://hg.omfa.de/prosody-hg/log/8baaefc4db79/util/smqueue.lua</link>
    <description><![CDATA[util.smqueue: Minor reformatting for code style, add some comments<br/>
<br/>
The `smqueue` table (of methods) is no longer exported, as I couldn't see it<br/>
being used anywhere and it is unconventional (only new() is exported, and<br/>
methods should be called on the objects returned from that).]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 04 Dec 2025 11:39:34 +0000</pubDate>
</item>
<item>
    <title>util: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/d10957394a3c/util/smqueue.lua</link>
    <description><![CDATA[util: Prefix module imports with prosody namespace]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 17 Mar 2023 16:23:16 +0100</pubDate>
</item>
<item>
    <title>util.smqueue: Simplify compat table, fix dependent modules (thanks Martin)</title>
    <link>http://hg.omfa.de/prosody-hg/log/4860da718e87/util/smqueue.lua</link>
    <description><![CDATA[util.smqueue: Simplify compat table, fix dependent modules (thanks Martin)<br/>
<br/>
There was an off-by-one in the modulo calculation. Switching to a plain<br/>
old array-table makes the apparent size of the queue wrong, but since<br/>
some of the queue may not be available this is likely for the best.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 16 Dec 2021 12:16:45 +0100</pubDate>
</item>
<item>
    <title>util.smqueue: Abstract queue with acknowledgements and overflow</title>
    <link>http://hg.omfa.de/prosody-hg/log/daced16154fa/util/smqueue.lua</link>
    <description><![CDATA[util.smqueue: Abstract queue with acknowledgements and overflow<br/>
<br/>
Meant to be used in mod_smacks for XEP-0198<br/>
<br/>
Meant to have a larger virtual size than actual number of items stored,<br/>
on the theory that in most cases, the excess will be acked before needed<br/>
for a resumption event.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 14 Dec 2021 19:58:53 +0100</pubDate>
</item>

  </channel>
</rss>
