• Resolved falki147

    (@falki147)


    I have the same problem as many others. It just adds some of the images and then keeps on spinning. Turns out, it’s just the request failing in the background. When debugging is enabled, it prints that the script has exceeded the maximum execution time. I temporarly forced the batch size to be always 5 by adjusting the ajax script, which worked for me (however it still failed once nonetheless, but it was a lot more stable)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author erolsk8

    (@erolsk8)

    Hi @falki147, I’m glad you found a solution (kind of).

    I already reduced the number of items to process per batch. But looks like it needs to be even smaller in some cases. So I might add an option to pick custom batch size, so it can be set to 1. Which would take a lot of time, because it would make a request for each image, but it might help in some situations.

    But I think increasing max_execution_time in php.ini on the server is a much better solution.
    https://thimpress.com/knowledge-base/how-to-increase-maximum-execution-time-for-wordpress-site/

    Anyway, thank you for a detailed explanation of what you found, this is finally something useful ??

    For now, I removed batch size of 20 (for more than 1000 items), so 10 is now maximum (for over 100 items being imported). That’s in 1.1.1 version.

    I’ll update this topic when I add that “custom batch size” option. It’s a small change, but I’m not sure when will I find some time to do it.

    Thread Starter falki147

    (@falki147)

    Hi,

    Thanks for the fast response ??

    Yeah, I might just increase the time myself temporarly. This should work too. I’ll try it next time.

    btw, thank you for creating this plugin. It saves me a lot of time.

    Plugin Author erolsk8

    (@erolsk8)

    Great, I’m happy to hear that ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sync Problem’ is closed to new replies.