Changeset 987
- Timestamp:
- 10/27/05 07:59:30 (3 years ago)
- Files:
-
- 1 modified
-
trunk/rss/cls/update.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rss/cls/update.php
r984 r987 37 37 38 38 define ('AJAX_BATCH_SIZE',3); 39 define ('AJAX_PARALLEL_SIZE',1); 39 40 40 41 define ('THIS_FILE',basename(__FILE__)); … … 234 235 echo "</table>\n"; 235 236 echo "<script type=\"text/javascript\">\n"; 236 echo "doUpdate();\n</script>\n"; 237 echo "for (k =0; k < " . AJAX_PARALLEL_SIZE . "; k++){\n"; 238 echo "doUpdate();}\n</script>\n"; 237 239 } 238 240 } … … 449 451 450 452 if (document.feedPointer < document.feedCount) { 453 if (document.returnedUpdates >= document.feedPointer - 454 <?php echo AJAX_BATCH_SIZE * (AJAX_PARALLEL_SIZE - 1) ?>) { 451 455 doUpdate(); 456 } 452 457 } else { 453 458 ajaxUpdateCleanup();
