{"action":"opened","issue":{"url":"https://api.github.com/repos/awakesecurity/gRPC-haskell/issues/54","repository_url":"https://api.github.com/repos/awakesecurity/gRPC-haskell","labels_url":"https://api.github.com/repos/awakesecurity/gRPC-haskell/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/awakesecurity/gRPC-haskell/issues/54/comments","events_url":"https://api.github.com/repos/awakesecurity/gRPC-haskell/issues/54/events","html_url":"https://github.com/awakesecurity/gRPC-haskell/issues/54","id":307443107,"number":54,"title":"Timeouts Far Earlier Than Expected","user":{"login":"isheff","id":452740,"avatar_url":"https://avatars3.githubusercontent.com/u/452740?v=4","gravatar_id":"","url":"https://api.github.com/users/isheff","html_url":"https://github.com/isheff","followers_url":"https://api.github.com/users/isheff/followers","following_url":"https://api.github.com/users/isheff/following{/other_user}","gists_url":"https://api.github.com/users/isheff/gists{/gist_id}","starred_url":"https://api.github.com/users/isheff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isheff/subscriptions","organizations_url":"https://api.github.com/users/isheff/orgs","repos_url":"https://api.github.com/users/isheff/repos","events_url":"https://api.github.com/users/isheff/events{/privacy}","received_events_url":"https://api.github.com/users/isheff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-21T22:39:36Z","updated_at":"2018-03-21T22:39:36Z","closed_at":null,"author_association":"NONE","body":"I wrote a quick-and-dirty script to test gRPC vs Thrift Haskell libraries when moving large, structured data over a channel. As can be seen by running the main application at https://github.com/isheff/gRPC-vs-Thrift/tree/60ac1c32e6c4a89716ae9a171c110555c9266445/ , even though [all client timeouts are set to 10000000 seconds](https://github.com/isheff/gRPC-vs-Thrift/blob/60ac1c32e6c4a89716ae9a171c110555c9266445/src/GRPCvsThrift/GRPCClient.hs#L24), I consistently get a time-out after only a second or so:\r\n\r\n```\r\nClientIOError GRPCIOTimeout\r\nCallStack (from HasCallStack):\r\n  error, called at src/GRPCvsThrift/GRPCClient.hs:43:43 in gRPC-vs-Thrift-0.1.0.0-94CrnjUzsegHPgjx1PI6me:GRPCvsThrift.GRPCClient\r\n```\r\n\r\nI cannot figure out why this is.\r\n\r\nThis only occurs when the data structure being sent is large enough. To give an idea of the approximate size, when `show` is called on a \"too large\" data structure, the result is about 10,000,000 characters long. A known \"not too large\" data structure `show`s to about 6,000,000 characters.\r\n\r\nHelp?"}}
{"actor":{"display_login":"isheff"}}