{"action":"created","issue":{"url":"https://api.github.com/repos/launchdarkly/ios-client/issues/23","labels_url":"https://api.github.com/repos/launchdarkly/ios-client/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/launchdarkly/ios-client/issues/23/comments","events_url":"https://api.github.com/repos/launchdarkly/ios-client/issues/23/events","html_url":"https://github.com/launchdarkly/ios-client/issues/23","id":121886277,"number":23,"title":"In debug mode,  minimum refresh interval should be set to 100ms","user":{"login":"jkodumal","id":19426,"avatar_url":"https://avatars.githubusercontent.com/u/19426?v=3","gravatar_id":"","url":"https://api.github.com/users/jkodumal","html_url":"https://github.com/jkodumal","followers_url":"https://api.github.com/users/jkodumal/followers","following_url":"https://api.github.com/users/jkodumal/following{/other_user}","gists_url":"https://api.github.com/users/jkodumal/gists{/gist_id}","starred_url":"https://api.github.com/users/jkodumal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkodumal/subscriptions","organizations_url":"https://api.github.com/users/jkodumal/orgs","repos_url":"https://api.github.com/users/jkodumal/repos","events_url":"https://api.github.com/users/jkodumal/events{/privacy}","received_events_url":"https://api.github.com/users/jkodumal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-12T23:03:02Z","updated_at":"2015-12-25T02:35:58Z","closed_at":null,"body":"Currently, in debug mode, the flag configuration resource will be polled as quickly as possible. As a result, there is no upper bound on the number of requests per second an individual client can make.\r\n\r\nInstead, in debug mode, we would like to impose a minimum 100ms delay on re-polling. The logic should be:\r\n\r\n1) In production, respect the TTL, or if the TTL is 0, treat the TTL as 1 minute\r\n2) In debug mode, respect the TTL, or if the TTL is 0, treat the TTL as 100ms"},"comment":{"url":"https://api.github.com/repos/launchdarkly/ios-client/issues/comments/167180641","html_url":"https://github.com/launchdarkly/ios-client/issues/23#issuecomment-167180641","issue_url":"https://api.github.com/repos/launchdarkly/ios-client/issues/23","id":167180641,"user":{"login":"jeff-byrnesinnovation","id":13595080,"avatar_url":"https://avatars.githubusercontent.com/u/13595080?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-byrnesinnovation","html_url":"https://github.com/jeff-byrnesinnovation","followers_url":"https://api.github.com/users/jeff-byrnesinnovation/followers","following_url":"https://api.github.com/users/jeff-byrnesinnovation/following{/other_user}","gists_url":"https://api.github.com/users/jeff-byrnesinnovation/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-byrnesinnovation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-byrnesinnovation/subscriptions","organizations_url":"https://api.github.com/users/jeff-byrnesinnovation/orgs","repos_url":"https://api.github.com/users/jeff-byrnesinnovation/repos","events_url":"https://api.github.com/users/jeff-byrnesinnovation/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-byrnesinnovation/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T02:35:58Z","updated_at":"2015-12-25T02:35:58Z","body":"This is fixed in the pull request for https://github.com/launchdarkly/ios-client/pull/30.\r\n\r\n1) When config is 0, on non-debug it is set to 1 min\r\n2) When config is 0, on debug it is set to 100 ms\r\n3) When event is 0, on debug or non-debug it is set to 30 sec"}}