• Resolved colmtroy

    (@colmtroy)


    Hi,
    Cloudflare basically times out http connections after 100 seconds.
    https://stackoverflow.com/questions/44314117/bypassing-cloudflares-time-out-of-100-seconds/

    I would highly recommend either polling your ajax requests so that CF doesn’t close the migrator after 100 seconds on larger databases, or better yet, move your migrator to be scheduled actions and/or use WP CLI instead.

    Any chance you could look into doing this? Should be very straightforward to implement and would make your plugin much more robust on larger WooCommerce stores.

    Colm

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

    (@mrclayton)

    Hi @colmtroy,

    Sure I can take a look at your suggestions. Did you encounter this issue while migrating a site or is this theoretical?

    The data migration also happens in a lazy fashion, meaning if you don’t perform it in the Admin Settings, the plugin migrates the data as it’s accessed.

    Kind Regards,

    Thread Starter colmtroy

    (@colmtroy)

    hey @mrclayton that was fast!
    Yes encountered it while testing it out for a potential switch to using it on a large WooCommerce store.
    Re: lazy migration – good to know. So is there any downside to NOT running the migration right now in production if we can’t circumvent the CF 100 second timeout? (which you can only do on Enterprise CF plans).

    Plugin Author Clayton R

    (@mrclayton)

    Hi @colmtroy

    Can you reach out to me via the Help button located in the Braintree plugin settings?

    We can discuss via that channel.

    Kind regards

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Data Migration fails on Cloudflare’ is closed to new replies.