Skip to content

Instantly share code, notes, and snippets.

@danielbitzer
Created May 10, 2018 23:20
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielbitzer/0a98a3f2ff8bc4206844c8d47cd4287b to your computer and use it in GitHub Desktop.
Save danielbitzer/0a98a3f2ff8bc4206844c8d47cd4287b to your computer and use it in GitHub Desktop.
Set queue to run every minute instead of every 5
<?php
add_action( 'automatewoo_loaded', function() {
remove_action( 'automatewoo_five_minute_worker', [ 'AutomateWoo\Queue_Manager', 'check_for_queued_events' ] );
add_action( 'automatewoo_events_worker', [ 'AutomateWoo\Queue_Manager', 'check_for_queued_events' ] );
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment