{"action":"created","comment":{"url":"https://api.github.com/repos/onefinestay/nameko/pulls/comments/50621403","id":50621403,"diff_hunk":"@@ -11,12 +10,13 @@\n \n \n class Timer(Entrypoint):\n-    def __init__(self, interval):\n+    def __init__(self, interval, eager=False):\n         \"\"\"\n-        Timer entrypoint implementation. Fires every :attr:`self.interval`\n+        Timer entrypoint implementation. Fires every :attr:`interval`\n         seconds.\n \n-        The implementation sleeps first, i.e. does not fire at time 0.\n+        The implementation sleeps first,i.e. does not fire at time 0.\n+        If you want to fire at time 0 (fire first) set :attr:`eager`=True","path":"nameko/timer.py","position":21,"original_position":21,"commit_id":"e5112a390298e62602252fc12b8a91b2aef6c5b8","original_commit_id":"e5112a390298e62602252fc12b8a91b2aef6c5b8","user":{"login":"Sparkycz","id":4771180,"avatar_url":"https://avatars.githubusercontent.com/u/4771180?v=3","gravatar_id":"","url":"https://api.github.com/users/Sparkycz","html_url":"https://github.com/Sparkycz","followers_url":"https://api.github.com/users/Sparkycz/followers","following_url":"https://api.github.com/users/Sparkycz/following{/other_user}","gists_url":"https://api.github.com/users/Sparkycz/gists{/gist_id}","starred_url":"https://api.github.com/users/Sparkycz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sparkycz/subscriptions","organizations_url":"https://api.github.com/users/Sparkycz/orgs","repos_url":"https://api.github.com/users/Sparkycz/repos","events_url":"https://api.github.com/users/Sparkycz/events{/privacy}","received_events_url":"https://api.github.com/users/Sparkycz/received_events","type":"User","site_admin":false},"body":"Ok, I'll update it. thanks","created_at":"2016-01-23T15:42:04Z","updated_at":"2016-01-23T15:42:04Z","html_url":"https://github.com/onefinestay/nameko/pull/302#discussion_r50621403","pull_request_url":"https://api.github.com/repos/onefinestay/nameko/pulls/302","_links":{"self":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/comments/50621403"},"html":{"href":"https://github.com/onefinestay/nameko/pull/302#discussion_r50621403"},"pull_request":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/302"}}},"pull_request":{"url":"https://api.github.com/repos/onefinestay/nameko/pulls/302","id":55091528,"html_url":"https://github.com/onefinestay/nameko/pull/302","diff_url":"https://github.com/onefinestay/nameko/pull/302.diff","patch_url":"https://github.com/onefinestay/nameko/pull/302.patch","issue_url":"https://api.github.com/repos/onefinestay/nameko/issues/302","number":302,"state":"open","locked":false,"title":"First do task and then wait for the next one","user":{"login":"Sparkycz","id":4771180,"avatar_url":"https://avatars.githubusercontent.com/u/4771180?v=3","gravatar_id":"","url":"https://api.github.com/users/Sparkycz","html_url":"https://github.com/Sparkycz","followers_url":"https://api.github.com/users/Sparkycz/followers","following_url":"https://api.github.com/users/Sparkycz/following{/other_user}","gists_url":"https://api.github.com/users/Sparkycz/gists{/gist_id}","starred_url":"https://api.github.com/users/Sparkycz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sparkycz/subscriptions","organizations_url":"https://api.github.com/users/Sparkycz/orgs","repos_url":"https://api.github.com/users/Sparkycz/repos","events_url":"https://api.github.com/users/Sparkycz/events{/privacy}","received_events_url":"https://api.github.com/users/Sparkycz/received_events","type":"User","site_admin":false},"body":"I think this change is needed for testing and observation of Timer service after deploy on production server when there is defined long time between tasks.","created_at":"2016-01-05T13:35:00Z","updated_at":"2016-01-23T15:42:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c18839c0740d68bdcc2d12779ba8537f5c52f2f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/onefinestay/nameko/pulls/302/commits","review_comments_url":"https://api.github.com/repos/onefinestay/nameko/pulls/302/comments","review_comment_url":"https://api.github.com/repos/onefinestay/nameko/pulls/comments{/number}","comments_url":"https://api.github.com/repos/onefinestay/nameko/issues/302/comments","statuses_url":"https://api.github.com/repos/onefinestay/nameko/statuses/e5112a390298e62602252fc12b8a91b2aef6c5b8","head":{"label":"Sparkycz:first-do-task-and-then-wait","ref":"first-do-task-and-then-wait","sha":"e5112a390298e62602252fc12b8a91b2aef6c5b8","user":{"login":"Sparkycz","id":4771180,"avatar_url":"https://avatars.githubusercontent.com/u/4771180?v=3","gravatar_id":"","url":"https://api.github.com/users/Sparkycz","html_url":"https://github.com/Sparkycz","followers_url":"https://api.github.com/users/Sparkycz/followers","following_url":"https://api.github.com/users/Sparkycz/following{/other_user}","gists_url":"https://api.github.com/users/Sparkycz/gists{/gist_id}","starred_url":"https://api.github.com/users/Sparkycz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sparkycz/subscriptions","organizations_url":"https://api.github.com/users/Sparkycz/orgs","repos_url":"https://api.github.com/users/Sparkycz/repos","events_url":"https://api.github.com/users/Sparkycz/events{/privacy}","received_events_url":"https://api.github.com/users/Sparkycz/received_events","type":"User","site_admin":false},"repo":{"id":49066072,"name":"nameko","full_name":"Sparkycz/nameko","owner":{"login":"Sparkycz","id":4771180,"avatar_url":"https://avatars.githubusercontent.com/u/4771180?v=3","gravatar_id":"","url":"https://api.github.com/users/Sparkycz","html_url":"https://github.com/Sparkycz","followers_url":"https://api.github.com/users/Sparkycz/followers","following_url":"https://api.github.com/users/Sparkycz/following{/other_user}","gists_url":"https://api.github.com/users/Sparkycz/gists{/gist_id}","starred_url":"https://api.github.com/users/Sparkycz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sparkycz/subscriptions","organizations_url":"https://api.github.com/users/Sparkycz/orgs","repos_url":"https://api.github.com/users/Sparkycz/repos","events_url":"https://api.github.com/users/Sparkycz/events{/privacy}","received_events_url":"https://api.github.com/users/Sparkycz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sparkycz/nameko","description":"Python framework for building microservices","fork":true,"url":"https://api.github.com/repos/Sparkycz/nameko","forks_url":"https://api.github.com/repos/Sparkycz/nameko/forks","keys_url":"https://api.github.com/repos/Sparkycz/nameko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sparkycz/nameko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sparkycz/nameko/teams","hooks_url":"https://api.github.com/repos/Sparkycz/nameko/hooks","issue_events_url":"https://api.github.com/repos/Sparkycz/nameko/issues/events{/number}","events_url":"https://api.github.com/repos/Sparkycz/nameko/events","assignees_url":"https://api.github.com/repos/Sparkycz/nameko/assignees{/user}","branches_url":"https://api.github.com/repos/Sparkycz/nameko/branches{/branch}","tags_url":"https://api.github.com/repos/Sparkycz/nameko/tags","blobs_url":"https://api.github.com/repos/Sparkycz/nameko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sparkycz/nameko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sparkycz/nameko/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sparkycz/nameko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sparkycz/nameko/statuses/{sha}","languages_url":"https://api.github.com/repos/Sparkycz/nameko/languages","stargazers_url":"https://api.github.com/repos/Sparkycz/nameko/stargazers","contributors_url":"https://api.github.com/repos/Sparkycz/nameko/contributors","subscribers_url":"https://api.github.com/repos/Sparkycz/nameko/subscribers","subscription_url":"https://api.github.com/repos/Sparkycz/nameko/subscription","commits_url":"https://api.github.com/repos/Sparkycz/nameko/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sparkycz/nameko/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sparkycz/nameko/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sparkycz/nameko/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sparkycz/nameko/contents/{+path}","compare_url":"https://api.github.com/repos/Sparkycz/nameko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sparkycz/nameko/merges","archive_url":"https://api.github.com/repos/Sparkycz/nameko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sparkycz/nameko/downloads","issues_url":"https://api.github.com/repos/Sparkycz/nameko/issues{/number}","pulls_url":"https://api.github.com/repos/Sparkycz/nameko/pulls{/number}","milestones_url":"https://api.github.com/repos/Sparkycz/nameko/milestones{/number}","notifications_url":"https://api.github.com/repos/Sparkycz/nameko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sparkycz/nameko/labels{/name}","releases_url":"https://api.github.com/repos/Sparkycz/nameko/releases{/id}","deployments_url":"https://api.github.com/repos/Sparkycz/nameko/deployments","created_at":"2016-01-05T12:59:55Z","updated_at":"2016-01-05T12:59:57Z","pushed_at":"2016-01-23T11:47:25Z","git_url":"git://github.com/Sparkycz/nameko.git","ssh_url":"git@github.com:Sparkycz/nameko.git","clone_url":"https://github.com/Sparkycz/nameko.git","svn_url":"https://github.com/Sparkycz/nameko","homepage":"https://nameko.readthedocs.org","size":2124,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"onefinestay:master","ref":"master","sha":"7209c1d45fce20cb2ba7ddcd6f79fa120c85bc29","user":{"login":"onefinestay","id":634153,"avatar_url":"https://avatars.githubusercontent.com/u/634153?v=3","gravatar_id":"","url":"https://api.github.com/users/onefinestay","html_url":"https://github.com/onefinestay","followers_url":"https://api.github.com/users/onefinestay/followers","following_url":"https://api.github.com/users/onefinestay/following{/other_user}","gists_url":"https://api.github.com/users/onefinestay/gists{/gist_id}","starred_url":"https://api.github.com/users/onefinestay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onefinestay/subscriptions","organizations_url":"https://api.github.com/users/onefinestay/orgs","repos_url":"https://api.github.com/users/onefinestay/repos","events_url":"https://api.github.com/users/onefinestay/events{/privacy}","received_events_url":"https://api.github.com/users/onefinestay/received_events","type":"Organization","site_admin":false},"repo":{"id":8431589,"name":"nameko","full_name":"onefinestay/nameko","owner":{"login":"onefinestay","id":634153,"avatar_url":"https://avatars.githubusercontent.com/u/634153?v=3","gravatar_id":"","url":"https://api.github.com/users/onefinestay","html_url":"https://github.com/onefinestay","followers_url":"https://api.github.com/users/onefinestay/followers","following_url":"https://api.github.com/users/onefinestay/following{/other_user}","gists_url":"https://api.github.com/users/onefinestay/gists{/gist_id}","starred_url":"https://api.github.com/users/onefinestay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onefinestay/subscriptions","organizations_url":"https://api.github.com/users/onefinestay/orgs","repos_url":"https://api.github.com/users/onefinestay/repos","events_url":"https://api.github.com/users/onefinestay/events{/privacy}","received_events_url":"https://api.github.com/users/onefinestay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onefinestay/nameko","description":"Python framework for building microservices","fork":false,"url":"https://api.github.com/repos/onefinestay/nameko","forks_url":"https://api.github.com/repos/onefinestay/nameko/forks","keys_url":"https://api.github.com/repos/onefinestay/nameko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onefinestay/nameko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onefinestay/nameko/teams","hooks_url":"https://api.github.com/repos/onefinestay/nameko/hooks","issue_events_url":"https://api.github.com/repos/onefinestay/nameko/issues/events{/number}","events_url":"https://api.github.com/repos/onefinestay/nameko/events","assignees_url":"https://api.github.com/repos/onefinestay/nameko/assignees{/user}","branches_url":"https://api.github.com/repos/onefinestay/nameko/branches{/branch}","tags_url":"https://api.github.com/repos/onefinestay/nameko/tags","blobs_url":"https://api.github.com/repos/onefinestay/nameko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onefinestay/nameko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onefinestay/nameko/git/refs{/sha}","trees_url":"https://api.github.com/repos/onefinestay/nameko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onefinestay/nameko/statuses/{sha}","languages_url":"https://api.github.com/repos/onefinestay/nameko/languages","stargazers_url":"https://api.github.com/repos/onefinestay/nameko/stargazers","contributors_url":"https://api.github.com/repos/onefinestay/nameko/contributors","subscribers_url":"https://api.github.com/repos/onefinestay/nameko/subscribers","subscription_url":"https://api.github.com/repos/onefinestay/nameko/subscription","commits_url":"https://api.github.com/repos/onefinestay/nameko/commits{/sha}","git_commits_url":"https://api.github.com/repos/onefinestay/nameko/git/commits{/sha}","comments_url":"https://api.github.com/repos/onefinestay/nameko/comments{/number}","issue_comment_url":"https://api.github.com/repos/onefinestay/nameko/issues/comments{/number}","contents_url":"https://api.github.com/repos/onefinestay/nameko/contents/{+path}","compare_url":"https://api.github.com/repos/onefinestay/nameko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onefinestay/nameko/merges","archive_url":"https://api.github.com/repos/onefinestay/nameko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onefinestay/nameko/downloads","issues_url":"https://api.github.com/repos/onefinestay/nameko/issues{/number}","pulls_url":"https://api.github.com/repos/onefinestay/nameko/pulls{/number}","milestones_url":"https://api.github.com/repos/onefinestay/nameko/milestones{/number}","notifications_url":"https://api.github.com/repos/onefinestay/nameko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onefinestay/nameko/labels{/name}","releases_url":"https://api.github.com/repos/onefinestay/nameko/releases{/id}","deployments_url":"https://api.github.com/repos/onefinestay/nameko/deployments","created_at":"2013-02-26T11:59:08Z","updated_at":"2016-01-22T12:35:47Z","pushed_at":"2016-01-23T11:47:25Z","git_url":"git://github.com/onefinestay/nameko.git","ssh_url":"git@github.com:onefinestay/nameko.git","clone_url":"https://github.com/onefinestay/nameko.git","svn_url":"https://github.com/onefinestay/nameko","homepage":"https://nameko.readthedocs.org","size":2216,"stargazers_count":682,"watchers_count":682,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":30,"forks":49,"open_issues":30,"watchers":682,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/302"},"html":{"href":"https://github.com/onefinestay/nameko/pull/302"},"issue":{"href":"https://api.github.com/repos/onefinestay/nameko/issues/302"},"comments":{"href":"https://api.github.com/repos/onefinestay/nameko/issues/302/comments"},"review_comments":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/302/comments"},"review_comment":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/302/commits"},"statuses":{"href":"https://api.github.com/repos/onefinestay/nameko/statuses/e5112a390298e62602252fc12b8a91b2aef6c5b8"}}}}