{"action":"created","comment":{"url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/comments/172154876","pull_request_review_id":101122969,"id":172154876,"diff_hunk":"@@ -127,8 +129,19 @@ def handle_response_data(self, data):\n             # self.idle()\n             self.queue.put(tender)\n \n+    def workers_watcher(self):\n+        while True:\n+            if time() - self.forward_heartbeat > 54000:","path":"openprocurement_client/sync.py","position":51,"original_position":51,"commit_id":"06772d7e4c2cd353d85087cea3b059d2c34d1cdd","original_commit_id":"06772d7e4c2cd353d85087cea3b059d2c34d1cdd","user":{"login":"VDigitall","id":6977678,"avatar_url":"https://avatars1.githubusercontent.com/u/6977678?v=4","gravatar_id":"","url":"https://api.github.com/users/VDigitall","html_url":"https://github.com/VDigitall","followers_url":"https://api.github.com/users/VDigitall/followers","following_url":"https://api.github.com/users/VDigitall/following{/other_user}","gists_url":"https://api.github.com/users/VDigitall/gists{/gist_id}","starred_url":"https://api.github.com/users/VDigitall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VDigitall/subscriptions","organizations_url":"https://api.github.com/users/VDigitall/orgs","repos_url":"https://api.github.com/users/VDigitall/repos","events_url":"https://api.github.com/users/VDigitall/events{/privacy}","received_events_url":"https://api.github.com/users/VDigitall/received_events","type":"User","site_admin":false},"body":"Ок, зараз винесу.","created_at":"2018-03-05T11:15:05Z","updated_at":"2018-03-05T11:15:06Z","html_url":"https://github.com/openprocurement/openprocurement.client.python/pull/87#discussion_r172154876","pull_request_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/87","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/comments/172154876"},"html":{"href":"https://github.com/openprocurement/openprocurement.client.python/pull/87#discussion_r172154876"},"pull_request":{"href":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/87"}},"in_reply_to_id":172151129},"pull_request":{"url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/87","id":162608732,"html_url":"https://github.com/openprocurement/openprocurement.client.python/pull/87","diff_url":"https://github.com/openprocurement/openprocurement.client.python/pull/87.diff","patch_url":"https://github.com/openprocurement/openprocurement.client.python/pull/87.patch","issue_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/issues/87","number":87,"state":"open","locked":false,"title":"Added forward_retriever heartbeat and more logging info with new metrics","user":{"login":"VDigitall","id":6977678,"avatar_url":"https://avatars1.githubusercontent.com/u/6977678?v=4","gravatar_id":"","url":"https://api.github.com/users/VDigitall","html_url":"https://github.com/VDigitall","followers_url":"https://api.github.com/users/VDigitall/followers","following_url":"https://api.github.com/users/VDigitall/following{/other_user}","gists_url":"https://api.github.com/users/VDigitall/gists{/gist_id}","starred_url":"https://api.github.com/users/VDigitall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VDigitall/subscriptions","organizations_url":"https://api.github.com/users/VDigitall/orgs","repos_url":"https://api.github.com/users/VDigitall/repos","events_url":"https://api.github.com/users/VDigitall/events{/privacy}","received_events_url":"https://api.github.com/users/VDigitall/received_events","type":"User","site_admin":false},"body":"This changes allow to receive in netdata:\r\n* queue size in sync.py\r\n* count of yielded resource items\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/openprocurement/openprocurement.client.python/87)\n<!-- Reviewable:end -->\n","created_at":"2018-01-12T11:31:12Z","updated_at":"2018-03-05T11:15:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c6a2a0f4d9994e4d8db3a94737f9b362fe5b3b6","assignee":{"login":"ktarasz","id":1586173,"avatar_url":"https://avatars0.githubusercontent.com/u/1586173?v=4","gravatar_id":"","url":"https://api.github.com/users/ktarasz","html_url":"https://github.com/ktarasz","followers_url":"https://api.github.com/users/ktarasz/followers","following_url":"https://api.github.com/users/ktarasz/following{/other_user}","gists_url":"https://api.github.com/users/ktarasz/gists{/gist_id}","starred_url":"https://api.github.com/users/ktarasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktarasz/subscriptions","organizations_url":"https://api.github.com/users/ktarasz/orgs","repos_url":"https://api.github.com/users/ktarasz/repos","events_url":"https://api.github.com/users/ktarasz/events{/privacy}","received_events_url":"https://api.github.com/users/ktarasz/received_events","type":"User","site_admin":false},"assignees":[{"login":"ktarasz","id":1586173,"avatar_url":"https://avatars0.githubusercontent.com/u/1586173?v=4","gravatar_id":"","url":"https://api.github.com/users/ktarasz","html_url":"https://github.com/ktarasz","followers_url":"https://api.github.com/users/ktarasz/followers","following_url":"https://api.github.com/users/ktarasz/following{/other_user}","gists_url":"https://api.github.com/users/ktarasz/gists{/gist_id}","starred_url":"https://api.github.com/users/ktarasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktarasz/subscriptions","organizations_url":"https://api.github.com/users/ktarasz/orgs","repos_url":"https://api.github.com/users/ktarasz/repos","events_url":"https://api.github.com/users/ktarasz/events{/privacy}","received_events_url":"https://api.github.com/users/ktarasz/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/87/commits","review_comments_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/87/comments","review_comment_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/issues/87/comments","statuses_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/statuses/06772d7e4c2cd353d85087cea3b059d2c34d1cdd","head":{"label":"VDigitall:more_logging","ref":"more_logging","sha":"06772d7e4c2cd353d85087cea3b059d2c34d1cdd","user":{"login":"VDigitall","id":6977678,"avatar_url":"https://avatars1.githubusercontent.com/u/6977678?v=4","gravatar_id":"","url":"https://api.github.com/users/VDigitall","html_url":"https://github.com/VDigitall","followers_url":"https://api.github.com/users/VDigitall/followers","following_url":"https://api.github.com/users/VDigitall/following{/other_user}","gists_url":"https://api.github.com/users/VDigitall/gists{/gist_id}","starred_url":"https://api.github.com/users/VDigitall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VDigitall/subscriptions","organizations_url":"https://api.github.com/users/VDigitall/orgs","repos_url":"https://api.github.com/users/VDigitall/repos","events_url":"https://api.github.com/users/VDigitall/events{/privacy}","received_events_url":"https://api.github.com/users/VDigitall/received_events","type":"User","site_admin":false},"repo":{"id":72840084,"name":"openprocurement.client.python","full_name":"VDigitall/openprocurement.client.python","owner":{"login":"VDigitall","id":6977678,"avatar_url":"https://avatars1.githubusercontent.com/u/6977678?v=4","gravatar_id":"","url":"https://api.github.com/users/VDigitall","html_url":"https://github.com/VDigitall","followers_url":"https://api.github.com/users/VDigitall/followers","following_url":"https://api.github.com/users/VDigitall/following{/other_user}","gists_url":"https://api.github.com/users/VDigitall/gists{/gist_id}","starred_url":"https://api.github.com/users/VDigitall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VDigitall/subscriptions","organizations_url":"https://api.github.com/users/VDigitall/orgs","repos_url":"https://api.github.com/users/VDigitall/repos","events_url":"https://api.github.com/users/VDigitall/events{/privacy}","received_events_url":"https://api.github.com/users/VDigitall/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VDigitall/openprocurement.client.python","description":null,"fork":true,"url":"https://api.github.com/repos/VDigitall/openprocurement.client.python","forks_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/forks","keys_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/teams","hooks_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/hooks","issue_events_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/issues/events{/number}","events_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/events","assignees_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/assignees{/user}","branches_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/branches{/branch}","tags_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/tags","blobs_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/git/refs{/sha}","trees_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/statuses/{sha}","languages_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/languages","stargazers_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/stargazers","contributors_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/contributors","subscribers_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/subscribers","subscription_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/subscription","commits_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/commits{/sha}","git_commits_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/git/commits{/sha}","comments_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/comments{/number}","issue_comment_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/issues/comments{/number}","contents_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/contents/{+path}","compare_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/merges","archive_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/downloads","issues_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/issues{/number}","pulls_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/pulls{/number}","milestones_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/milestones{/number}","notifications_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/labels{/name}","releases_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/releases{/id}","deployments_url":"https://api.github.com/repos/VDigitall/openprocurement.client.python/deployments","created_at":"2016-11-04T11:02:42Z","updated_at":"2016-11-04T11:02:43Z","pushed_at":"2018-02-26T10:53:42Z","git_url":"git://github.com/VDigitall/openprocurement.client.python.git","ssh_url":"git@github.com:VDigitall/openprocurement.client.python.git","clone_url":"https://github.com/VDigitall/openprocurement.client.python.git","svn_url":"https://github.com/VDigitall/openprocurement.client.python","homepage":null,"size":303,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openprocurement:use_requests","ref":"use_requests","sha":"6b0766ccbc63372be494c1231d4de7f846081fa9","user":{"login":"openprocurement","id":8692431,"avatar_url":"https://avatars2.githubusercontent.com/u/8692431?v=4","gravatar_id":"","url":"https://api.github.com/users/openprocurement","html_url":"https://github.com/openprocurement","followers_url":"https://api.github.com/users/openprocurement/followers","following_url":"https://api.github.com/users/openprocurement/following{/other_user}","gists_url":"https://api.github.com/users/openprocurement/gists{/gist_id}","starred_url":"https://api.github.com/users/openprocurement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openprocurement/subscriptions","organizations_url":"https://api.github.com/users/openprocurement/orgs","repos_url":"https://api.github.com/users/openprocurement/repos","events_url":"https://api.github.com/users/openprocurement/events{/privacy}","received_events_url":"https://api.github.com/users/openprocurement/received_events","type":"Organization","site_admin":false},"repo":{"id":30758250,"name":"openprocurement.client.python","full_name":"openprocurement/openprocurement.client.python","owner":{"login":"openprocurement","id":8692431,"avatar_url":"https://avatars2.githubusercontent.com/u/8692431?v=4","gravatar_id":"","url":"https://api.github.com/users/openprocurement","html_url":"https://github.com/openprocurement","followers_url":"https://api.github.com/users/openprocurement/followers","following_url":"https://api.github.com/users/openprocurement/following{/other_user}","gists_url":"https://api.github.com/users/openprocurement/gists{/gist_id}","starred_url":"https://api.github.com/users/openprocurement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openprocurement/subscriptions","organizations_url":"https://api.github.com/users/openprocurement/orgs","repos_url":"https://api.github.com/users/openprocurement/repos","events_url":"https://api.github.com/users/openprocurement/events{/privacy}","received_events_url":"https://api.github.com/users/openprocurement/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openprocurement/openprocurement.client.python","description":null,"fork":false,"url":"https://api.github.com/repos/openprocurement/openprocurement.client.python","forks_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/forks","keys_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/teams","hooks_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/hooks","issue_events_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/issues/events{/number}","events_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/events","assignees_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/assignees{/user}","branches_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/branches{/branch}","tags_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/tags","blobs_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/git/refs{/sha}","trees_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/statuses/{sha}","languages_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/languages","stargazers_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/stargazers","contributors_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/contributors","subscribers_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/subscribers","subscription_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/subscription","commits_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/commits{/sha}","git_commits_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/git/commits{/sha}","comments_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/comments{/number}","issue_comment_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/issues/comments{/number}","contents_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/contents/{+path}","compare_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/merges","archive_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/downloads","issues_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/issues{/number}","pulls_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls{/number}","milestones_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/milestones{/number}","notifications_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/labels{/name}","releases_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/releases{/id}","deployments_url":"https://api.github.com/repos/openprocurement/openprocurement.client.python/deployments","created_at":"2015-02-13T13:51:23Z","updated_at":"2017-04-27T11:44:04Z","pushed_at":"2018-02-26T10:57:46Z","git_url":"git://github.com/openprocurement/openprocurement.client.python.git","ssh_url":"git@github.com:openprocurement/openprocurement.client.python.git","clone_url":"https://github.com/openprocurement/openprocurement.client.python.git","svn_url":"https://github.com/openprocurement/openprocurement.client.python","homepage":null,"size":354,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":28,"open_issues":13,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/87"},"html":{"href":"https://github.com/openprocurement/openprocurement.client.python/pull/87"},"issue":{"href":"https://api.github.com/repos/openprocurement/openprocurement.client.python/issues/87"},"comments":{"href":"https://api.github.com/repos/openprocurement/openprocurement.client.python/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openprocurement/openprocurement.client.python/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/openprocurement/openprocurement.client.python/statuses/06772d7e4c2cd353d85087cea3b059d2c34d1cdd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"VDigitall"}}