funny remark Re: Exception while Optimizing the index database



Sorry to be doing this but I think it should be changed to 42. The answer to life, universe and everything :-)

Who said engineers cannot have some fun, eh?

Jon Trowbridge wrote:
On Fri, 2004-12-03 at 23:34 +0530, Veerapuram Varadhan wrote:

On Fri, 2004-12-03 at 08:36 -0600, Jon Trowbridge wrote:

On Fri, 2004-12-03 at 18:50 +0530, Veerapuram Varadhan wrote:

ERROR: System.IO.IOException: Win32 IO returned ERROR_NO_MORE_FILES.

We are running out of file descriptors.  I just committed a small change
to the LuceneDriver that might help with this.

147 ?


No, 47.  It is totally arbitrary.

In case anyone is curious, we are talking about public bool NeedsOptimize { get { // FIXME: 47 is a totally arbitrary number.
		return adds_since_last_optimization
			+ removals_since_last_optimization > 47;
	}
}
from LuceneDriver.cs.

-J


_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers gnome org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


----
Regards-Cheers-Sincerely,
Srikant
http://sriks6711.blogspot.com
http://www.dcs.gla.ac.uk/~sriks
"After an extraordinary intellectuality counterbalancing indecipherable transcendentalising talk, I walk around so disoriented and lost after that, you'd think I was a French footballer in a match with Greece with Zidane shouting "Trezeguet you bastaird.. stop singing "Aaja Mahiya" and find ze footbawl...""
-=-Sriksisms powered by Life, TagZilla and QOTD-=-



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