From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.87.14 with SMTP id k14cs1199216agb; Tue, 29 Dec 2009 15:42:16 -0800 (PST) Received: by 10.224.72.98 with SMTP id l34mr8325257qaj.344.1262130135921; Tue, 29 Dec 2009 15:42:15 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 28si20094722qyk.98.2009.12.29.15.42.15; Tue, 29 Dec 2009 15:42:15 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 9AAC31D78876; Tue, 29 Dec 2009 18:42:15 -0500 (EST) Received: from pion.club.cc.cmu.edu (PION.CLUB.CC.cmu.edu [128.237.157.88]) by rubyforge.org (Postfix) with ESMTP id 206E1185828D for ; Tue, 29 Dec 2009 18:42:11 -0500 (EST) Received: from rlane by pion.club.cc.cmu.edu with local (Exim 4.69) (envelope-from ) id 1NPlha-0007Az-S0; Tue, 29 Dec 2009 18:42:10 -0500 From: Rich Lane To: William Morgan In-reply-to: <1262129621-sup-2519@masanjin.net> References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net> <4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net> <1262031447-sup-787@masanjin.net> <1262031768-sup-468@tilus.net> <1262034406-sup-5724@masanjin.net> <1262129621-sup-2519@masanjin.net> Date: Tue, 29 Dec 2009 18:42:10 -0500 Message-Id: <1262129967-sup-1203@zyrg.net> User-Agent: Sup/git Cc: sup-talk Subject: Re: [sup-talk] sup with 120K mail X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Excerpts from William Morgan's message of Tue Dec 29 18:33:46 -0500 2009: > 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. Xapian::WritableDatabase#flush This should really be called from XapianIndex#save_index, along with a friendly message explaining what's going on. _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk