[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] sup with 120K mail



Reformatted excerpts from William Morgan's message of 2009-12-28:
> Reformatted excerpts from Tero Tilus's message of 2009-12-28:
> > William Morgan, 2009-12-28 22:17:
> > > Is this with Xapian?
> > 
> > Goodness!  Forgot the most important part...
> > 
> > Yes.  Xapian and git next.
> 
> Yeah, Xapian is the cause of that delay on quit. I think there was a
> workaround posted at some point about an environment variable or
> something...

Ah yes, try setting XAPIAN_FLUSH_THRESHOLD=10 when running sup (but not
sup-sync!) and see if that reduces the delay on quit.

Unfortunately there's no way (that I know of) to force a Xapian flush
from within Ruby. Correction from Xapian experts welcome.
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk