Skip to content

CLI feature: Show which jobs are currently utilizing a8c_cron_control_concurrent_event_whitelist #300

Description

@davidsword

A WP-CLI command like wp cron-control show-allowed-concurrent would be handy to show which jobs are currently utilizing the filter. It would be helpful to aggregate and display that data when debugging stale queues.

Currently to find out, either need to search codebase for a8c_cron_control_concurrent_event_whitelist (which can get cumbersome on sites that use multiple repos), or run the filter to get the output with wp shell:

# wp shell
wp> apply_filters( 'a8c_cron_control_concurrent_event_whitelist', [] );
=> array(2) {
...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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