{"action":"closed","issue":{"url":"https://api.github.com/repos/idxbroker/wordpress-plugin/issues/70","repository_url":"https://api.github.com/repos/idxbroker/wordpress-plugin","labels_url":"https://api.github.com/repos/idxbroker/wordpress-plugin/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/idxbroker/wordpress-plugin/issues/70/comments","events_url":"https://api.github.com/repos/idxbroker/wordpress-plugin/issues/70/events","html_url":"https://github.com/idxbroker/wordpress-plugin/issues/70","id":251010802,"node_id":"MDU6SXNzdWUyNTEwMTA4MDI=","number":70,"title":"Cron Jobs causing issues with sites going down","user":{"login":"yoursiteneedsme","id":31107658,"node_id":"MDQ6VXNlcjMxMTA3NjU4","avatar_url":"https://avatars3.githubusercontent.com/u/31107658?v=4","gravatar_id":"","url":"https://api.github.com/users/yoursiteneedsme","html_url":"https://github.com/yoursiteneedsme","followers_url":"https://api.github.com/users/yoursiteneedsme/followers","following_url":"https://api.github.com/users/yoursiteneedsme/following{/other_user}","gists_url":"https://api.github.com/users/yoursiteneedsme/gists{/gist_id}","starred_url":"https://api.github.com/users/yoursiteneedsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoursiteneedsme/subscriptions","organizations_url":"https://api.github.com/users/yoursiteneedsme/orgs","repos_url":"https://api.github.com/users/yoursiteneedsme/repos","events_url":"https://api.github.com/users/yoursiteneedsme/events{/privacy}","received_events_url":"https://api.github.com/users/yoursiteneedsme/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"antonioortegajr","id":6744175,"node_id":"MDQ6VXNlcjY3NDQxNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/6744175?v=4","gravatar_id":"","url":"https://api.github.com/users/antonioortegajr","html_url":"https://github.com/antonioortegajr","followers_url":"https://api.github.com/users/antonioortegajr/followers","following_url":"https://api.github.com/users/antonioortegajr/following{/other_user}","gists_url":"https://api.github.com/users/antonioortegajr/gists{/gist_id}","starred_url":"https://api.github.com/users/antonioortegajr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonioortegajr/subscriptions","organizations_url":"https://api.github.com/users/antonioortegajr/orgs","repos_url":"https://api.github.com/users/antonioortegajr/repos","events_url":"https://api.github.com/users/antonioortegajr/events{/privacy}","received_events_url":"https://api.github.com/users/antonioortegajr/received_events","type":"User","site_admin":false},"assignees":[{"login":"antonioortegajr","id":6744175,"node_id":"MDQ6VXNlcjY3NDQxNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/6744175?v=4","gravatar_id":"","url":"https://api.github.com/users/antonioortegajr","html_url":"https://github.com/antonioortegajr","followers_url":"https://api.github.com/users/antonioortegajr/followers","following_url":"https://api.github.com/users/antonioortegajr/following{/other_user}","gists_url":"https://api.github.com/users/antonioortegajr/gists{/gist_id}","starred_url":"https://api.github.com/users/antonioortegajr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonioortegajr/subscriptions","organizations_url":"https://api.github.com/users/antonioortegajr/orgs","repos_url":"https://api.github.com/users/antonioortegajr/repos","events_url":"https://api.github.com/users/antonioortegajr/events{/privacy}","received_events_url":"https://api.github.com/users/antonioortegajr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2017-08-17T17:07:14Z","updated_at":"2018-11-14T23:04:38Z","closed_at":"2018-11-14T23:04:38Z","author_association":"NONE","body":"We are having an issue with our sites going down often and have been researching it to find out the cause. The underlying issue is that we have two plugins that are running too many repeating cron jobs. Jetpack and Impress. \r\n\r\nI am systematically removing Jetpack from all of our sites and replacing the specific functions that we use it for with alternate plugins. However I can not remove or replace IMPress. \r\n\r\nWith Impress, the issue seems to be 2 cron jobs that run every 3 minutes:\r\nidx_create_idx_pages\r\nNone\r\nIDX\\Idx_Pages->create_idx_pages()\r\n2017-08-16 14:34:07 (1 minute)\r\n3 minutes\r\n\r\nidx_delete_idx_pages\r\nNone\r\nIDX\\Idx_Pages->delete_idx_pages()\r\n2017-08-16 14:35:42 (2 minutes 35 seconds)\r\n3 minutes\r\n\r\nSince we are unfamiliar with these processes I wanted to touch base with you before we make any changes. \r\nCan you tell me exactly what these two cron jobs do? I am guessing that they are communicating between the site and IDXBroker to refresh the wrapper cache and/OR add & delete new wrappers that are created in the site. IMO, every 3 minutes seems like a lot and in fact is causing us issues when running 100 sites that use IDXBroker on our servers. \r\n\r\nI am not sure if suggesting that just refreshing the site cache and then refreshing the wrapper cache manually after creating or deleting a new wrapper page in IMPress should be enough instead of the widget doing it automatically every 3 minutes or adding an option to manually push this cron job inside the plugin like the option to Clear IDX Cache under Tools would work, but I wanted to put it out there as we need a solution to this. \r\n\r\nAlternately there is a plugin that we can use to edit these cron jobs WP Crontrol, which will allow me to edit & delete cron jobs. In your opinion can I use this plugin to make some alterations to try and to change them so that they are more manageable or would that be a bad idea?"}}
{"actor":{"display_login":"antonioortegajr"}}