{"action":"closed","issue":{"url":"https://api.github.com/repos/Comcast/traffic_control/issues/415","labels_url":"https://api.github.com/repos/Comcast/traffic_control/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/Comcast/traffic_control/issues/415/comments","events_url":"https://api.github.com/repos/Comcast/traffic_control/issues/415/events","html_url":"https://github.com/Comcast/traffic_control/issues/415","id":100357938,"number":415,"title":"increase MOJO_INACTIVITY_TIMEOUT to 60 seconds","user":{"login":"mitchell852","id":251272,"avatar_url":"https://avatars.githubusercontent.com/u/251272?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchell852","html_url":"https://github.com/mitchell852","followers_url":"https://api.github.com/users/mitchell852/followers","following_url":"https://api.github.com/users/mitchell852/following{/other_user}","gists_url":"https://api.github.com/users/mitchell852/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchell852/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchell852/subscriptions","organizations_url":"https://api.github.com/users/mitchell852/orgs","repos_url":"https://api.github.com/users/mitchell852/repos","events_url":"https://api.github.com/users/mitchell852/events{/privacy}","received_events_url":"https://api.github.com/users/mitchell852/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Comcast/traffic_control/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Comcast/traffic_control/labels/Traffic%20Ops","name":"Traffic Ops","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"dewrich","id":56597,"avatar_url":"https://avatars.githubusercontent.com/u/56597?v=3","gravatar_id":"","url":"https://api.github.com/users/dewrich","html_url":"https://github.com/dewrich","followers_url":"https://api.github.com/users/dewrich/followers","following_url":"https://api.github.com/users/dewrich/following{/other_user}","gists_url":"https://api.github.com/users/dewrich/gists{/gist_id}","starred_url":"https://api.github.com/users/dewrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dewrich/subscriptions","organizations_url":"https://api.github.com/users/dewrich/orgs","repos_url":"https://api.github.com/users/dewrich/repos","events_url":"https://api.github.com/users/dewrich/events{/privacy}","received_events_url":"https://api.github.com/users/dewrich/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Comcast/traffic_control/milestones/4","html_url":"https://github.com/Comcast/traffic_control/milestones/1.1.5","labels_url":"https://api.github.com/repos/Comcast/traffic_control/milestones/4/labels","id":1245623,"number":4,"title":"1.1.5","description":null,"creator":{"login":"mtorluemke","id":3515510,"avatar_url":"https://avatars.githubusercontent.com/u/3515510?v=3","gravatar_id":"","url":"https://api.github.com/users/mtorluemke","html_url":"https://github.com/mtorluemke","followers_url":"https://api.github.com/users/mtorluemke/followers","following_url":"https://api.github.com/users/mtorluemke/following{/other_user}","gists_url":"https://api.github.com/users/mtorluemke/gists{/gist_id}","starred_url":"https://api.github.com/users/mtorluemke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtorluemke/subscriptions","organizations_url":"https://api.github.com/users/mtorluemke/orgs","repos_url":"https://api.github.com/users/mtorluemke/repos","events_url":"https://api.github.com/users/mtorluemke/events{/privacy}","received_events_url":"https://api.github.com/users/mtorluemke/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":28,"state":"open","created_at":"2015-08-07T15:08:18Z","updated_at":"2015-09-01T13:57:19Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-11T16:56:00Z","updated_at":"2015-09-01T13:57:19Z","closed_at":"2015-09-01T13:57:19Z","body":"Some of the TO API endpoints gather usage data from external sources that can exceed 20 seconds (depending on the date range of the data) which results in \"Inactivity Timeout\" errors that return 500 Internal Server Error. To reduce the number of inactivity timeouts, increase MOJO_INACTIVITY_TIMEOUT value to 60 seconds.\r\n\r\nMore info here: http://mojolicio.us/perldoc/Mojolicious/Guides/FAQ#What-does-Inactivity-timeout-mean\r\n\r\nMaybe it's best to fetch this value from the config file used at startup to make this value configurable. "}}