diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-04-25 16:18:42 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-04-25 16:18:42 +0000 |
commit | eee69ed12a7129303607fc3e338132a23f23b3f4 (patch) | |
tree | a47abe849d86982164923a459a0ee319b3143d36 | |
parent | 4ae3f438b46b1e4b5be5f7d1d64a159f0a77753f (diff) | |
download | fetchmail-eee69ed12a7129303607fc3e338132a23f23b3f4.tar.gz fetchmail-eee69ed12a7129303607fc3e338132a23f23b3f4.tar.bz2 fetchmail-eee69ed12a7129303607fc3e338132a23f23b3f4.zip |
Add useful comment.
svn path=/trunk/; revision=2451
-rw-r--r-- | driver.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2194,6 +2194,12 @@ const struct method *proto; /* protocol method table */ totalcount += expunge; if (NUM_SPECIFIED(ctl->fetchlimit) && totalcount >= fetchlimit) break; + + /* + * Allow time for the server lock to release. if we don't + * do this, we'll often hit a locked-mailbox condition and fail. + */ + sleep(3); /* to be _really_ safe, probably need sleep(5)! */ } while (ok == PS_MAXFETCH); |