Skip to content

Timeout on import script #376

@michnovka

Description

@michnovka

when I run meili:import, after it indexes the last batch I get a timeout (very quickly, like second after it shows last message):

sudo -u nginx php -d memory_limit=1G bin/console meili:import --no-debug
Importing for index App\Entity\Log\AdminActionLog
Indexed a batch of 164 / 164 App\Entity\Log\AdminActionLog entities into app_dev_admin_action_logs index (164 indexed since start)
Setting "filterableAttributes" updated of "app_dev_admin_action_logs".
Setting "searchableAttributes" updated of "app_dev_admin_action_logs".
Setting "sortableAttributes" updated of "app_dev_admin_action_logs".
Importing for index App\Entity\Log\CronLog
Indexed a batch of 500 / 500 App\Entity\Log\CronLog entities into app_dev_cron_logs index (500 indexed since start)
...
Indexed a batch of 500 / 500 App\Entity\Log\CronLog entities into app_dev_cron_logs index (401500 indexed since start)
Indexed a batch of 500 / 500 App\Entity\Log\CronLog entities into app_dev_cron_logs index (402000 indexed since start)
Indexed a batch of 500 / 500 App\Entity\Log\CronLog entities into app_dev_cron_logs index (402500 indexed since start)
Indexed a batch of 500 / 500 App\Entity\Log\CronLog entities into app_dev_cron_logs index (403000 indexed since start)
Indexed a batch of 456 / 456 App\Entity\Log\CronLog entities into app_dev_cron_logs index (403456 indexed since start)
Setting "filterableAttributes" updated of "app_dev_cron_logs".

In Tasks.php line 58:
                     
  Request timed out  
                     

Any idea what might be going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions