{"action":"opened","issue":{"url":"https://api.github.com/repos/bitflow-stream/python-bitflow/issues/3","repository_url":"https://api.github.com/repos/bitflow-stream/python-bitflow","labels_url":"https://api.github.com/repos/bitflow-stream/python-bitflow/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/bitflow-stream/python-bitflow/issues/3/comments","events_url":"https://api.github.com/repos/bitflow-stream/python-bitflow/issues/3/events","html_url":"https://github.com/bitflow-stream/python-bitflow/issues/3","id":432406108,"node_id":"MDU6SXNzdWU0MzI0MDYxMDg=","number":3,"title":"Timeout when Reconnecting (GITLAB Copy)","user":{"login":"mwallschlaeger","id":17499481,"node_id":"MDQ6VXNlcjE3NDk5NDgx","avatar_url":"https://avatars0.githubusercontent.com/u/17499481?v=4","gravatar_id":"","url":"https://api.github.com/users/mwallschlaeger","html_url":"https://github.com/mwallschlaeger","followers_url":"https://api.github.com/users/mwallschlaeger/followers","following_url":"https://api.github.com/users/mwallschlaeger/following{/other_user}","gists_url":"https://api.github.com/users/mwallschlaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/mwallschlaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwallschlaeger/subscriptions","organizations_url":"https://api.github.com/users/mwallschlaeger/orgs","repos_url":"https://api.github.com/users/mwallschlaeger/repos","events_url":"https://api.github.com/users/mwallschlaeger/events{/privacy}","received_events_url":"https://api.github.com/users/mwallschlaeger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-12T06:24:56Z","updated_at":"2019-04-12T06:24:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"\r\n\r\nWhen the connection is lost, the socket trie to reconnect as often as possible. This leads to unnecessary high CPU usage ;) A timeout when reconnecting would be nice.\r\n\r\nHere is a log which shows how often retries are performed (ca. 8times per millisecond):\r\n\r\n```\r\n2019-04-11 07:08:33,052 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,052 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,052 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,052 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,052 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,052 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,052 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,052 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,053 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,053 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,053 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,053 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,053 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,053 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,053 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,054 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,054 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,054 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,054 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,054 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,054 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,054 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,054 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n2019-04-11 07:08:33,055 writing sink failed to sink <bitflow.sinksteps.SocketWrapper object at 0x7efe9b5f9a90>\r\n2019-04-11 07:08:33,055 TCPSink: failed to send to peer animal-buffer:40001, closing connection ...\r\n```"}}
{"actor":{"display_login":"mwallschlaeger"}}