History date/time of new pages is the date/time of the first url added in the session (91717). This will likely also help page loading time and hierarchical history folder opening (as well as item deletion). Would you believe we've been firing a timer every three seconds that flushes and recommits all of the user's global history (when all we meant to do was set a boolean to PR_TRUE) because of a copy and paste error Alec made in march? :-) r=jag sr=ben

This commit is contained in:
blakeross%telocity.com 2001-07-25 06:18:06 +00:00
parent 27763b6faf
commit 90345ad705

View File

@ -1588,7 +1588,7 @@ nsGlobalHistory::GetNow()
mExpireNowTimer = do_CreateInstance("@mozilla.org/timer;1");
if (mExpireNowTimer)
mExpireNowTimer->Init(fireSyncTimer, this, HISTORY_EXPIRE_NOW_TIMEOUT,
mExpireNowTimer->Init(expireNowTimer, this, HISTORY_EXPIRE_NOW_TIMEOUT,
NS_PRIORITY_LOWEST, NS_TYPE_ONE_SHOT);
}