{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/5709","repository_url":"https://api.github.com/repos/Automattic/jetpack","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/5709/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/5709/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/5709/events","html_url":"https://github.com/Automattic/jetpack/pull/5709","id":190145504,"number":5709,"title":"Sync: Increase default cron interval to 5 and sync via cron by default","user":{"login":"ebinnion","id":1126811,"avatar_url":"https://avatars.githubusercontent.com/u/1126811?v=3","gravatar_id":"","url":"https://api.github.com/users/ebinnion","html_url":"https://github.com/ebinnion","followers_url":"https://api.github.com/users/ebinnion/followers","following_url":"https://api.github.com/users/ebinnion/following{/other_user}","gists_url":"https://api.github.com/users/ebinnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ebinnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebinnion/subscriptions","organizations_url":"https://api.github.com/users/ebinnion/orgs","repos_url":"https://api.github.com/users/ebinnion/repos","events_url":"https://api.github.com/users/ebinnion/events{/privacy}","received_events_url":"https://api.github.com/users/ebinnion/received_events","type":"User","site_admin":false},"labels":[{"id":387292582,"url":"https://api.github.com/repos/Automattic/jetpack/labels/Sync","name":"Sync","color":"006b75","default":false},{"id":199076921,"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04","default":false},{"id":199358898,"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20Requires%20String%20Changes","name":"[Status] Requires String Changes","color":"ededed","default":false},{"id":358137810,"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Team]%20Poseidon","name":"[Team] Poseidon","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"ebinnion","id":1126811,"avatar_url":"https://avatars.githubusercontent.com/u/1126811?v=3","gravatar_id":"","url":"https://api.github.com/users/ebinnion","html_url":"https://github.com/ebinnion","followers_url":"https://api.github.com/users/ebinnion/followers","following_url":"https://api.github.com/users/ebinnion/following{/other_user}","gists_url":"https://api.github.com/users/ebinnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ebinnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebinnion/subscriptions","organizations_url":"https://api.github.com/users/ebinnion/orgs","repos_url":"https://api.github.com/users/ebinnion/repos","events_url":"https://api.github.com/users/ebinnion/events{/privacy}","received_events_url":"https://api.github.com/users/ebinnion/received_events","type":"User","site_admin":false},"assignees":[{"login":"ebinnion","id":1126811,"avatar_url":"https://avatars.githubusercontent.com/u/1126811?v=3","gravatar_id":"","url":"https://api.github.com/users/ebinnion","html_url":"https://github.com/ebinnion","followers_url":"https://api.github.com/users/ebinnion/followers","following_url":"https://api.github.com/users/ebinnion/following{/other_user}","gists_url":"https://api.github.com/users/ebinnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ebinnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebinnion/subscriptions","organizations_url":"https://api.github.com/users/ebinnion/orgs","repos_url":"https://api.github.com/users/ebinnion/repos","events_url":"https://api.github.com/users/ebinnion/events{/privacy}","received_events_url":"https://api.github.com/users/ebinnion/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/54","html_url":"https://github.com/Automattic/jetpack/milestones/4.4","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/54/labels","id":1869985,"number":54,"title":"4.4","description":"Code Freeze: 2016-11-9","creator":{"login":"richardmuscat","id":2287740,"avatar_url":"https://avatars.githubusercontent.com/u/2287740?v=3","gravatar_id":"","url":"https://api.github.com/users/richardmuscat","html_url":"https://github.com/richardmuscat","followers_url":"https://api.github.com/users/richardmuscat/followers","following_url":"https://api.github.com/users/richardmuscat/following{/other_user}","gists_url":"https://api.github.com/users/richardmuscat/gists{/gist_id}","starred_url":"https://api.github.com/users/richardmuscat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardmuscat/subscriptions","organizations_url":"https://api.github.com/users/richardmuscat/orgs","repos_url":"https://api.github.com/users/richardmuscat/repos","events_url":"https://api.github.com/users/richardmuscat/events{/privacy}","received_events_url":"https://api.github.com/users/richardmuscat/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":362,"state":"open","created_at":"2016-07-07T13:38:22Z","updated_at":"2016-11-17T22:20:28Z","due_on":"2016-11-21T00:00:00Z","closed_at":null},"comments":5,"created_at":"2016-11-17T19:49:07Z","updated_at":"2016-11-17T22:30:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/5709","html_url":"https://github.com/Automattic/jetpack/pull/5709","diff_url":"https://github.com/Automattic/jetpack/pull/5709.diff","patch_url":"https://github.com/Automattic/jetpack/pull/5709.patch"},"body":"Several users have mentioned that their cron jobs are piling on top of each other, which is largely in part because we spawn a cron job every minute. This PR seeks to increase that interval to every 5 minutes.\r\n\r\n![screen shot 2016-11-17 at 1 45 42 pm](https://cloud.githubusercontent.com/assets/1126811/20404877/4fbd8d5e-accc-11e6-9864-385b5cc1dc20.png)\r\n\r\nIt seems like we'll be implementing this PR instead of enabling non-cron-sync by default. \r\n\r\nTo test:\r\n\r\n- Checkout `update/jetpack-sync-cron-default` branch\r\n- Make sure tests pass\r\n- To to `jetpack-sync-actions.php` file and short-circuit `sync_via_cron_allowed()` to always return true\r\n- Go to admin of site and check that `jetpack_sync_cron` and `jetpack_sync_full_cron` have schedules of 5 minutes\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/261390517","html_url":"https://github.com/Automattic/jetpack/pull/5709#issuecomment-261390517","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/5709","id":261390517,"user":{"login":"gravityrail","id":51896,"avatar_url":"https://avatars.githubusercontent.com/u/51896?v=3","gravatar_id":"","url":"https://api.github.com/users/gravityrail","html_url":"https://github.com/gravityrail","followers_url":"https://api.github.com/users/gravityrail/followers","following_url":"https://api.github.com/users/gravityrail/following{/other_user}","gists_url":"https://api.github.com/users/gravityrail/gists{/gist_id}","starred_url":"https://api.github.com/users/gravityrail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravityrail/subscriptions","organizations_url":"https://api.github.com/users/gravityrail/orgs","repos_url":"https://api.github.com/users/gravityrail/repos","events_url":"https://api.github.com/users/gravityrail/events{/privacy}","received_events_url":"https://api.github.com/users/gravityrail/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T22:30:04Z","updated_at":"2016-11-17T22:30:04Z","body":"I <3 it"}}
{"actor":{"display_login":"gravityrail"}}