• Resolved pasindu183

    (@pasindu183)


    Hi,
    I am using wp-cli to create posts and to attach featured images. Is it ok to run multiple wp-cli instances to post parallelly? Will there be no race conditions?
    Thanks.

Viewing 1 replies (of 1 total)
  • Thinking about this logically, WP CLI just runs WordPress php files. And if it were via a browser rather than CLI then simultaneous posts can happen anyway.

    WP uses mySQL database to store posts, so any such database queuing a sequencing is covered at the database level.

    So whilst I can’t say 100% there will be no issues, I personally wouldn’t expect any.

Viewing 1 replies (of 1 total)
  • The topic ‘Parallel post creation’ is closed to new replies.