1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-17 14:18:24 +01:00

Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/10691] Fixed the speed of creating search index
This commit is contained in:
Andreas Fischer 2012-03-19 12:55:37 +01:00
commit cfd0afe4ea

View File

@ -35,7 +35,6 @@ $search_errors = array();
$search = new $class_name($search_errors);
$batch_size = isset($argv[2]) ? $argv[2] : 2000;
$time = time();
if (method_exists($search, 'create_index'))
{
@ -67,6 +66,7 @@ else
while ($post_counter <= $max_post_id)
{
$row_count = 0;
$time = time();
printf("Processing posts with %d <= post_id <= %d\n",
$post_counter + 1,