-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docs for version 3.0 #414
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thenbrent Thanks for updating this. This looks great other than the two item I notes so I'm pre-approving.
docs/api.md
Outdated
### Usage | ||
|
||
```php | ||
as_enqueue_async_action( $hook, $hook, $args, $group ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$hook
parameter is duplicated.
docs/index.md
Outdated
|
||
### Housekeeping | ||
|
||
Before processing a batch, the scheduler will remove any existing claims on actions which have been sitting in a queue for more than five minutes. | ||
Before processing a batch, the scheduler will remove any existing claims on actions which have been sitting in a queue for more than five minutes (or more specifically, 10 times the allowed time limit, which defaults to 30 seconds). | ||
|
||
Action Scheduler will also trash any actions which were completed more than a month ago. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
were completed or canceled more than a month ago
* remove references to CPT usage * update Perf guide to provide warnings Fixes #411
I've fixed both of those up. Thanks for the review @rrennick. |
as_enqueue_async_action()
as_unschedule_all_actions()
Fixes #411