mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-29 12:43:15 +01:00
Merge remote-tracking branch 'dhruvgoel92/ticket/10691' into develop-olympus
* dhruvgoel92/ticket/10691: [ticket/10691] Fixed the speed of creating search index
This commit is contained in:
commit
dad37a4329
@ -36,7 +36,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'))
|
||||
{
|
||||
@ -68,6 +67,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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user