{"action":"closed","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/5541","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/5541/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/5541/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/5541/events","html_url":"https://github.com/esp8266/Arduino/issues/5541","id":393688287,"node_id":"MDU6SXNzdWUzOTM2ODgyODc=","number":5541,"title":"ArduinoOTA.handle not running in setup{}, frequency of ArduinoOTA.handle(); calls?","user":{"login":"jbrepogmailcom","id":17232670,"node_id":"MDQ6VXNlcjE3MjMyNjcw","avatar_url":"https://avatars3.githubusercontent.com/u/17232670?v=4","gravatar_id":"","url":"https://api.github.com/users/jbrepogmailcom","html_url":"https://github.com/jbrepogmailcom","followers_url":"https://api.github.com/users/jbrepogmailcom/followers","following_url":"https://api.github.com/users/jbrepogmailcom/following{/other_user}","gists_url":"https://api.github.com/users/jbrepogmailcom/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrepogmailcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrepogmailcom/subscriptions","organizations_url":"https://api.github.com/users/jbrepogmailcom/orgs","repos_url":"https://api.github.com/users/jbrepogmailcom/repos","events_url":"https://api.github.com/users/jbrepogmailcom/events{/privacy}","received_events_url":"https://api.github.com/users/jbrepogmailcom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-22T17:02:40Z","updated_at":"2018-12-22T18:08:32Z","closed_at":"2018-12-22T18:08:32Z","author_association":"NONE","body":"Hello.\r\n\r\nI see that ArduinoOTA.handle(); is called in the loop{}, it does not work if included in setup{}. Does it run repeatedly or does it wait for OTA - meaning that following code is not executed until OTA is completed?\r\n\r\nIf it runs repeatedly, how often does it needs to be called, what is the timeout?\r\n\r\nThanks, Jan"}}
{"actor":{"display_login":"devyte"}}