mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
fix for moving local messages/compacting local folders slow on linux 94602 rs=sspitzer
This commit is contained in:
parent
b77edf6fe1
commit
52dade5132
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user