fix for moving local messages/compacting local folders slow on linux 94602 rs=sspitzer

This commit is contained in:
bienvenu%netscape.com 2001-08-10 14:05:29 +00:00
parent b77edf6fe1
commit 52dade5132

View File

@ -296,7 +296,7 @@ NS_IMETHODIMP nsMailboxProtocol::OnStopRequest(nsIRequest *request, nsISupports
// then, we have to make sure the url keeps running somehow.
nsCOMPtr<nsISupports> urlSupports = do_QueryInterface(m_runningUrl);
// put us in a state where we are always notified of incoming data
PR_Sleep(500);
PR_Sleep(PR_MicrosecondsToInterval(500UL));
rv = m_transport->AsyncRead(this, urlSupports, msgKey, msgSize, 0, getter_AddRefs(m_request));
NS_ASSERTION(NS_SUCCEEDED(rv), "AsyncRead failed");
if (m_loadGroup)