Skip to content

Commit dad37a4

Browse files
committed
Merge remote-tracking branch 'dhruvgoel92/ticket/10691' into develop-olympus
* dhruvgoel92/ticket/10691: [ticket/10691] Fixed the speed of creating search index
2 parents 81eeafb + c551b46 commit dad37a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpBB/develop/create_search_index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
$search = new $class_name($search_errors);
3737

3838
$batch_size = isset($argv[2]) ? $argv[2] : 2000;
39-
$time = time();
4039

4140
if (method_exists($search, 'create_index'))
4241
{
@@ -68,6 +67,7 @@
6867
while ($post_counter <= $max_post_id)
6968
{
7069
$row_count = 0;
70+
$time = time();
7171

7272
printf("Processing posts with %d <= post_id <= %d\n",
7373
$post_counter + 1,

0 commit comments

Comments
 (0)