{"action":"created","issue":{"url":"https://api.github.com/repos/websharks/zencache/issues/543","labels_url":"https://api.github.com/repos/websharks/zencache/issues/543/labels{/name}","comments_url":"https://api.github.com/repos/websharks/zencache/issues/543/comments","events_url":"https://api.github.com/repos/websharks/zencache/issues/543/events","html_url":"https://github.com/websharks/zencache/issues/543","id":100216881,"number":543,"title":"Bug :: Multisite :: ACE :: Option Storage","user":{"login":"jaswsinc","id":1563559,"avatar_url":"https://avatars.githubusercontent.com/u/1563559?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswsinc","html_url":"https://github.com/jaswsinc","followers_url":"https://api.github.com/users/jaswsinc/followers","following_url":"https://api.github.com/users/jaswsinc/following{/other_user}","gists_url":"https://api.github.com/users/jaswsinc/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswsinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswsinc/subscriptions","organizations_url":"https://api.github.com/users/jaswsinc/orgs","repos_url":"https://api.github.com/users/jaswsinc/repos","events_url":"https://api.github.com/users/jaswsinc/events{/privacy}","received_events_url":"https://api.github.com/users/jaswsinc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/websharks/zencache/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/websharks/zencache/labels/pro","name":"pro","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"jaswsinc","id":1563559,"avatar_url":"https://avatars.githubusercontent.com/u/1563559?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswsinc","html_url":"https://github.com/jaswsinc","followers_url":"https://api.github.com/users/jaswsinc/followers","following_url":"https://api.github.com/users/jaswsinc/following{/other_user}","gists_url":"https://api.github.com/users/jaswsinc/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswsinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswsinc/subscriptions","organizations_url":"https://api.github.com/users/jaswsinc/orgs","repos_url":"https://api.github.com/users/jaswsinc/repos","events_url":"https://api.github.com/users/jaswsinc/events{/privacy}","received_events_url":"https://api.github.com/users/jaswsinc/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-11T03:17:39Z","updated_at":"2015-08-11T03:19:41Z","closed_at":null,"body":"## Overview\r\n\r\nThe ACE is supposed to run only from the Main Site. This strategy has actually changed a bit since the original creation of the ACE. Over time, we have improved the ACE, and now it really should _only_ be running from the Main Site in a network. It currently does not; i.e., BUG.\r\n\r\n## Steps to Reproduce\r\n\r\n- Enable ZenCache network wide in a MS installation.\r\n- Enable the ACE & and setup an XML sitemap for at least one child blog.\r\n- Visit each of the child blogs and run: `/?zencache_auto_cache_cron=1` from each of them.\r\n\r\n## Expected Behavior\r\n\r\nThat the ACE would not run on the child blog.\r\n\r\n## Observed Behavior\r\n\r\nThe ACE is currently allowed to run from the child blog. In fact, the `setup()` routine in ZenCache is currently configuring multiple CRON jobs; i.e., for each child blog. That's a bug. It also has the potential to create a process overlap which could lead to performance issues."},"comment":{"url":"https://api.github.com/repos/websharks/zencache/issues/comments/129690165","html_url":"https://github.com/websharks/zencache/issues/543#issuecomment-129690165","issue_url":"https://api.github.com/repos/websharks/zencache/issues/543","id":129690165,"user":{"login":"jaswsinc","id":1563559,"avatar_url":"https://avatars.githubusercontent.com/u/1563559?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswsinc","html_url":"https://github.com/jaswsinc","followers_url":"https://api.github.com/users/jaswsinc/followers","following_url":"https://api.github.com/users/jaswsinc/following{/other_user}","gists_url":"https://api.github.com/users/jaswsinc/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswsinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswsinc/subscriptions","organizations_url":"https://api.github.com/users/jaswsinc/orgs","repos_url":"https://api.github.com/users/jaswsinc/repos","events_url":"https://api.github.com/users/jaswsinc/events{/privacy}","received_events_url":"https://api.github.com/users/jaswsinc/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T03:19:41Z","updated_at":"2015-08-11T03:19:41Z","body":"> The ACE is currently allowed to run from the child blog. In fact, the setup() routine in ZenCache is currently configuring multiple CRON jobs; i.e., for each child blog. That's a bug. It also has the potential to create a process overlap which could lead to performance issues.\r\n\r\nThis only happens in a specific scenario. It's not a widespread issue. However, it needs to be fixed nonetheless. My feeling is that data storage in ZenCache needs to use `*_site_option()` exclusively whenever work to correct this bug occurs."}}