about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-12 09:04:54 +0000
committerEric Wong <e@80x24.org>2017-02-14 22:56:35 +0000
commiteb0267592377e116c7184d206bff48413ae202fe (patch)
tree9b6fbe64cc5867e99ef4c056e080f4b123b26420 /t
parent60f38818f2dbc76e20041cf1b01e2baf3322a1f1 (diff)
downloadpublic-inbox-eb0267592377e116c7184d206bff48413ae202fe.tar.gz
Xapian memory usage is tied to the size of the indexed
text, so take the raw message size into account when
deciding when to flush Xapian data.

More importantly, we now flush Xapian before we have it
buffer beyond our maximum; and we do it unconditionally
to prevent even high priority processes from OOM-ing.
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions