{"action":"created","issue":{"url":"https://api.github.com/repos/v2tec/watchtower/issues/69","repository_url":"https://api.github.com/repos/v2tec/watchtower","labels_url":"https://api.github.com/repos/v2tec/watchtower/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/v2tec/watchtower/issues/69/comments","events_url":"https://api.github.com/repos/v2tec/watchtower/issues/69/events","html_url":"https://github.com/v2tec/watchtower/issues/69","id":214674393,"number":69,"title":"Suggestion: Allow timeout value to be changed","user":{"login":"Robotex","id":74515,"avatar_url":"https://avatars0.githubusercontent.com/u/74515?v=3","gravatar_id":"","url":"https://api.github.com/users/Robotex","html_url":"https://github.com/Robotex","followers_url":"https://api.github.com/users/Robotex/followers","following_url":"https://api.github.com/users/Robotex/following{/other_user}","gists_url":"https://api.github.com/users/Robotex/gists{/gist_id}","starred_url":"https://api.github.com/users/Robotex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robotex/subscriptions","organizations_url":"https://api.github.com/users/Robotex/orgs","repos_url":"https://api.github.com/users/Robotex/repos","events_url":"https://api.github.com/users/Robotex/events{/privacy}","received_events_url":"https://api.github.com/users/Robotex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/v2tec/watchtower/milestones/3","html_url":"https://github.com/v2tec/watchtower/milestone/3","labels_url":"https://api.github.com/repos/v2tec/watchtower/milestones/3/labels","id":2296180,"number":3,"title":"v0.2.0","description":"","creator":{"login":"stffabi","id":9464631,"avatar_url":"https://avatars3.githubusercontent.com/u/9464631?v=3","gravatar_id":"","url":"https://api.github.com/users/stffabi","html_url":"https://github.com/stffabi","followers_url":"https://api.github.com/users/stffabi/followers","following_url":"https://api.github.com/users/stffabi/following{/other_user}","gists_url":"https://api.github.com/users/stffabi/gists{/gist_id}","starred_url":"https://api.github.com/users/stffabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stffabi/subscriptions","organizations_url":"https://api.github.com/users/stffabi/orgs","repos_url":"https://api.github.com/users/stffabi/repos","events_url":"https://api.github.com/users/stffabi/events{/privacy}","received_events_url":"https://api.github.com/users/stffabi/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2017-02-02T21:05:16Z","updated_at":"2017-03-24T07:45:40Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-03-16T11:30:27Z","updated_at":"2017-03-24T07:47:00Z","closed_at":null,"body":"**[Premise]**\r\nSome of my containers require to shutdown gracefully because they have long tasks that might run for minutes before they can exit.\r\nI haven't learned Go yet but reading your code especially the line at [update.go#L13](https://github.com/v2tec/watchtower/blob/master/actions/update.go#L13) I assume that it waits 10 seconds before forcefully killing the container in [client.go#L106](https://github.com/v2tec/watchtower/blob/master/container/client.go#L106)\r\n**[Actual request]**\r\nWould be it possible to add a parameter for allowing to change the timeout?\r\nAs an alternative I think just signalling the container without terminating it still through a parameter like `--no-kill` would work for me.\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/v2tec/watchtower/issues/comments/288954933","html_url":"https://github.com/v2tec/watchtower/issues/69#issuecomment-288954933","issue_url":"https://api.github.com/repos/v2tec/watchtower/issues/69","id":288954933,"user":{"login":"stffabi","id":9464631,"avatar_url":"https://avatars3.githubusercontent.com/u/9464631?v=3","gravatar_id":"","url":"https://api.github.com/users/stffabi","html_url":"https://github.com/stffabi","followers_url":"https://api.github.com/users/stffabi/followers","following_url":"https://api.github.com/users/stffabi/following{/other_user}","gists_url":"https://api.github.com/users/stffabi/gists{/gist_id}","starred_url":"https://api.github.com/users/stffabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stffabi/subscriptions","organizations_url":"https://api.github.com/users/stffabi/orgs","repos_url":"https://api.github.com/users/stffabi/repos","events_url":"https://api.github.com/users/stffabi/events{/privacy}","received_events_url":"https://api.github.com/users/stffabi/received_events","type":"User","site_admin":false},"created_at":"2017-03-24T07:47:00Z","updated_at":"2017-03-24T07:47:00Z","body":"Adding a timeout parameter would be a good suggestion. Adding a no-kill option would be a little bit harder, because if the old container doesn't get removed or renamed one can't start the new one with the same old name."}}
{"actor":{"display_login":"stffabi"}}