{"action":"created","issue":{"url":"https://api.github.com/repos/FarmBot/farmbot-raspberry-pi-controller/issues/50","labels_url":"https://api.github.com/repos/FarmBot/farmbot-raspberry-pi-controller/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/FarmBot/farmbot-raspberry-pi-controller/issues/50/comments","events_url":"https://api.github.com/repos/FarmBot/farmbot-raspberry-pi-controller/issues/50/events","html_url":"https://github.com/FarmBot/farmbot-raspberry-pi-controller/issues/50","id":58687500,"number":50,"title":"Decrease wait time for commands","user":{"login":"roryaronson","id":5524043,"avatar_url":"https://avatars.githubusercontent.com/u/5524043?v=3","gravatar_id":"","url":"https://api.github.com/users/roryaronson","html_url":"https://github.com/roryaronson","followers_url":"https://api.github.com/users/roryaronson/followers","following_url":"https://api.github.com/users/roryaronson/following{/other_user}","gists_url":"https://api.github.com/users/roryaronson/gists{/gist_id}","starred_url":"https://api.github.com/users/roryaronson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roryaronson/subscriptions","organizations_url":"https://api.github.com/users/roryaronson/orgs","repos_url":"https://api.github.com/users/roryaronson/repos","events_url":"https://api.github.com/users/roryaronson/events{/privacy}","received_events_url":"https://api.github.com/users/roryaronson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T03:11:35Z","updated_at":"2015-02-24T09:24:11Z","closed_at":null,"body":"Hey @TimEvWw, Rick and I were messing with the latest bot and found that commands had a delay of about a minute. We looked into the controller source code and found this:\r\n\r\nhttps://github.com/FarmBot/farmbot-raspberry-pi-controller/blob/bbc816cb80ad84150404a26872ff75660da93c42/lib/controller.rb#L128\r\n\r\nIs there a reason the `+ 60` is there?"},"comment":{"url":"https://api.github.com/repos/FarmBot/farmbot-raspberry-pi-controller/issues/comments/75723542","html_url":"https://github.com/FarmBot/farmbot-raspberry-pi-controller/issues/50#issuecomment-75723542","issue_url":"https://api.github.com/repos/FarmBot/farmbot-raspberry-pi-controller/issues/50","id":75723542,"user":{"login":"TimEvWw","id":5821877,"avatar_url":"https://avatars.githubusercontent.com/u/5821877?v=3","gravatar_id":"","url":"https://api.github.com/users/TimEvWw","html_url":"https://github.com/TimEvWw","followers_url":"https://api.github.com/users/TimEvWw/followers","following_url":"https://api.github.com/users/TimEvWw/following{/other_user}","gists_url":"https://api.github.com/users/TimEvWw/gists{/gist_id}","starred_url":"https://api.github.com/users/TimEvWw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimEvWw/subscriptions","organizations_url":"https://api.github.com/users/TimEvWw/orgs","repos_url":"https://api.github.com/users/TimEvWw/repos","events_url":"https://api.github.com/users/TimEvWw/events{/privacy}","received_events_url":"https://api.github.com/users/TimEvWw/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T09:24:11Z","updated_at":"2015-02-24T09:24:11Z","body":"The idea there is that the system waits for a refresh signal during one\nminute (it's named 'refresh' because I use this method a lot to trigger\nscreen refreshes when new data arrives). If after one minute there is no\nsignal received, it will check the database to see if a command has been\nreceived without setting the refresh flag. So that signal goes wrong. That\nwould explain it.\n\nOn Tue, Feb 24, 2015 at 4:11 AM, Rory Aronson <notifications@github.com>\nwrote:\n\n> Hey @TimEvWw <https://github.com/TimEvWw>, Rick and I were messing with\n> the latest bot and found that commands had a delay of about a minute. We\n> looked into the controller source code and found this:\n>\n>\n> https://github.com/FarmBot/farmbot-raspberry-pi-controller/blob/bbc816cb80ad84150404a26872ff75660da93c42/lib/controller.rb#L128\n>\n> Is there a reason the + 60 is there?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/FarmBot/farmbot-raspberry-pi-controller/issues/50>.\n>\n"}}