Changeset 3970 in subversion
- Timestamp:
- Sep 16, 2010 9:02:27 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/get.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/get.inc
r3969 r3970 42 42 // To workaround this we'll wait for some time 43 43 // and try again (once). 44 // Note: When message contains more inline parts and the server limit is low 45 // this stil maybe the issue, while we're using the same sleep interval, but 46 // I didn't found better solution. 44 // Note: Random sleep interval is used to minimize concurency 45 // in getting message parts 47 46 if (!isset($_GET['_redirected'])) { 48 sleep(2);47 usleep(rand(10,30)*100000); // 1-3 sec. 49 48 header('Location: ' . $_SERVER['REQUEST_URI'] . '&_redirected=1'); 50 49 }
Note: See TracChangeset
for help on using the changeset viewer.
