Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/woocommerce/action-scheduler-timeout-monitor
Gather additional information about scheduled actions which timeout.
https://github.com/woocommerce/action-scheduler-timeout-monitor
action-scheduler
Last synced: about 1 month ago
JSON representation
Gather additional information about scheduled actions which timeout.
- Host: GitHub
- URL: https://github.com/woocommerce/action-scheduler-timeout-monitor
- Owner: woocommerce
- Created: 2017-12-20T05:40:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T00:48:48.000Z (about 6 years ago)
- Last Synced: 2024-04-14T13:39:18.042Z (8 months ago)
- Topics: action-scheduler
- Language: PHP
- Homepage:
- Size: 2.93 KB
- Stars: 14
- Watchers: 106
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-woocommerce - Action Scheduler Timeout Monitor - Gather additional information about subscription action scheduled events which timeout. (Action Scheduler)
README
## Action Scheduler Timeout Monitor
If a scheduled action runs for more than its allocated time (`action_scheduler_failure_period`) the `ActionScheduler_QueueCleaner` will mark the action as failed and log the nondescript error `action timed out after 300 seconds`. Because this cleaning event occurs in another PHP instance and separate process there's no stack trace which can be included as part of this error.
This mini-extension keeps a record of where the action got caught up to help troubleshoot what's taking the action more than the 5 minutes (default) allowed.
This plugin makes use of the resource intensive WP `'all'` action and therefore it is not recommended to have this plugin active for any longer than necessary.
### Installation
1. Upload the plugin's files to the `/wp-content/plugins/` directory of your WordPress site
1. Activate the plugin through the **Plugins** menu in WordPress#### License
This plugin is released under [GNU General Public License v3.0](http://www.gnu.org/licenses/gpl-3.0.html).
---