]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
ds: long_response: reduce {long_cb} size
authorEric Wong <e@80x24.org>
Sat, 28 Jun 2025 11:20:13 +0000 (11:20 +0000)
committerEric Wong <e@80x24.org>
Mon, 30 Jun 2025 08:20:41 +0000 (08:20 +0000)
commita6abff28bfa2011fdcc30b1f248e9ce5333940a8
tree0913d5a1d698354924e99dbeb13227927ca3e2d2
parentbd43ac2af2b28d8e0b078a8b082d62e1be8a02dc
ds: long_response: reduce {long_cb} size

Invoking the `fileno' op should be trivial in cost and we can
reduce the amount of potentially long-lived storage for long
responses by invoking it with every long_step call.
lib/PublicInbox/DS.pm