about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-06-14 00:14:47 +0000
committerEric Wong <e@80x24.org>2017-06-14 00:15:45 +0000
commit970eb1fd83b93c790d2faed6bf64a97d6d5fe126 (patch)
tree644162ea4055a4c674e0fd78c89495008bbac12c /lib/PublicInbox/Search.pm
parent7eeadcb62729b0efbcb53cd9b7b181897c92cf9a (diff)
downloadpublic-inbox-970eb1fd83b93c790d2faed6bf64a97d6d5fe126.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 'lib/PublicInbox/Search.pm')
0 files changed, 0 insertions, 0 deletions