Title: Hyperstack.send_message needs timeout · Issue #144 · hyperstack-org/hyperstack · GitHub
Open Graph Title: Hyperstack.send_message needs timeout · Issue #144 · hyperstack-org/hyperstack
X Title: Hyperstack.send_message needs timeout · Issue #144 · hyperstack-org/hyperstack
Description: Hyperstack.send_to_server will cleanly drop messages on the floor if the server is not up, but relies on getting back an HTTP error code (i.e. 504). There are cases that due to setup problems with the server unrelated to Hyperstack, the ...
Open Graph Description: Hyperstack.send_to_server will cleanly drop messages on the floor if the server is not up, but relies on getting back an HTTP error code (i.e. 504). There are cases that due to setup problems with ...
X Description: Hyperstack.send_to_server will cleanly drop messages on the floor if the server is not up, but relies on getting back an HTTP error code (i.e. 504). There are cases that due to setup problems with ...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/144
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hyperstack.send_message needs timeout","articleBody":"`Hyperstack.send_to_server` will cleanly drop messages on the floor if the server is not up, but relies on getting back an HTTP error code (i.e. 504). There are cases that due to setup problems with the server unrelated to Hyperstack, the request to the server may simply hang. \r\n\r\nThis causes `Hyperstack.send_to_server` to propagate a timeout error back up the system, which crashes the whole console (for example.) \r\n\r\nThis makes debugging the unrelated server problem difficult.\r\n\r\nWhat we need to do is wrap `send_to_server` in a configurable timeout that will cleanly drop the message.\r\n\r\nWhile we are at it, setting the configurable timeout to a negative value should simply drop the value, while 0 and nil should ignore the time out.","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2019-03-25T13:20:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/144/hyperstack/issues/144"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0957b671-e1ff-398a-834a-1384fb347466 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8AC6:9376:1E8D728:26E8C73:69919DA5 |
| html-safe-nonce | 51e7a3d773374c486297f2a88570fcfc7a6dfa3aa50e4d2100959ed562df1572 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUM2OjkzNzY6MUU4RDcyODoyNkU4QzczOjY5OTE5REE1IiwidmlzaXRvcl9pZCI6IjExMzAyMzMxOTk5MDI5NTY5NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fc67173868961914a0c3047ee70450b273ca6361d0f36de4779f76f3ce19b853 |
| hovercard-subject-tag | issue:424897952 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hyperstack-org/hyperstack/144/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fcb767e8bf7437d4cfab0fd41d5ad4079f0b561a01167cd825930acbe9d3cfd5/hyperstack-org/hyperstack/issues/144 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fcb767e8bf7437d4cfab0fd41d5ad4079f0b561a01167cd825930acbe9d3cfd5/hyperstack-org/hyperstack/issues/144 |
| og:image:alt | Hyperstack.send_to_server will cleanly drop messages on the floor if the server is not up, but relies on getting back an HTTP error code (i.e. 504). There are cases that due to setup problems with ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | catmando |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperstack-org/hyperstack git https://github.com/hyperstack-org/hyperstack.git |
| octolytics-dimension-user_id | 34562730 |
| octolytics-dimension-user_login | hyperstack-org |
| octolytics-dimension-repository_id | 145879576 |
| octolytics-dimension-repository_nwo | hyperstack-org/hyperstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145879576 |
| octolytics-dimension-repository_network_root_nwo | hyperstack-org/hyperstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width