1

On a large website, after using feedme to import some content it immediatelly triggers the "Updating element slugs and URIs" process that takes very long time to complete. Is there a way to postpone or temporary disable this task and do the import first?

1

You can try disabling Craft's queue temporarily by adding 'runQueueAutomatically' => false to general.php, then trigger the feed via the command line.

Without testing this might prevent the 'Updating element slugs and URIs' job, but in any case – doing it this way you should see better performance overall.

p.s. if you add --verbose to the end of the command you can see what it's doing.

3
  • Thanks. Just tried. Is still tirggers the updating elements slugs tasks.
    – Mark H.
    Aug 18 '20 at 17:22
  • That's a shame. Did you find it works faster? This job has to run, so doing it on the command line is still the best way.
    – dmatthams
    Aug 19 '20 at 8:11
  • The import itself was already fast. These additional tasks are killing everything.
    – Mark H.
    Aug 24 '20 at 21:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.