Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Deployment action taking 5+ minutes (abnormally long) #121

@coreydonenfeld

Description

@coreydonenfeld

Deployments, up until this Monday, would finish well under a minute almost always. Starting this Monday (8/11), deployments are taking at or above 5 minutes, seemingly uploading all the files and then stalling at cache clearing. Here's an example of what the action log states:

debug1: Sending command: cd sites/egsllp && wp --skip-plugins --skip-themes page-cache flush && wp --skip-plugins --skip-themes cdn-cache flush
debug1: mux_client_request_session: master session id: 2
http_request_async curl error: Failed to connect to localhost port 9002 after 702 ms: Connection timed out
ERROR: purge_varnish_cache() failed for: (localhost)
Success: Page Cache was flushed.

The CACHE_CLEAR option is set to TRUE, setting it to FALSE leads to the next deployment working in the average expected time—but would love to not modify the workflow of 50+ sites, if possible. Wondering what is going on here, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions