Title: Subscriptions are not changed until a message from existing subscription is received · Issue #293 · massive-com/client-python · GitHub
Open Graph Title: Subscriptions are not changed until a message from existing subscription is received · Issue #293 · massive-com/client-python
X Title: Subscriptions are not changed until a message from existing subscription is received · Issue #293 · massive-com/client-python
Description: In init.py of websocket, it would be better like this (commented the original incorrect line): try: # cmsg: Union[ # List[WebSocketMessage], Union[str, bytes] # ] = await s.recv() cmsg: Union[ List[WebSocketMessage], Union[str, bytes] ] ...
Open Graph Description: In init.py of websocket, it would be better like this (commented the original incorrect line): try: # cmsg: Union[ # List[WebSocketMessage], Union[str, bytes] # ] = await s.recv() cmsg: Union[ List...
X Description: In init.py of websocket, it would be better like this (commented the original incorrect line): try: # cmsg: Union[ # List[WebSocketMessage], Union[str, bytes] # ] = await s.recv() cmsg: Union[ List...
Opengraph URL: https://github.com/massive-com/client-python/issues/293
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Subscriptions are not changed until a message from existing subscription is received","articleBody":"In __init__.py of websocket, it would be better like this (commented the original incorrect line):\r\n\r\n```python\r\n try:\r\n # cmsg: Union[\r\n # List[WebSocketMessage], Union[str, bytes]\r\n # ] = await s.recv()\r\n cmsg: Union[\r\n List[WebSocketMessage], Union[str, bytes]\r\n ] = await asyncio.wait_for(s.recv(), timeout=1)\r\n except asyncio.TimeoutError:\r\n continue\r\n```\r\n\r\nImagine a case where someone is subscribed to trades on an illiquid instrument. So maybe it takes 5-10 minutes before a trade message received. If they try to change the active subscriptions, no error is raised, but silently, no actual change in subscription has ocurred until there's a trade on that illiquid instrument.","author":{"url":"https://github.com/at-cf","@type":"Person","name":"at-cf"},"datePublished":"2022-09-03T13:51:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/293/client-python/issues/293"}
| 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:9fac7857-82b6-ff91-09c4-42b093e08714 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC46:2C2F48:3A377B:5201F0:6A4E6D42 |
| html-safe-nonce | 87b3ae000e01f406dc96ce4aecafcbab67ef6956eebc5e067f680b4151b9f40f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzQ2OjJDMkY0ODozQTM3N0I6NTIwMUYwOjZBNEU2RDQyIiwidmlzaXRvcl9pZCI6IjIyNjkzNDc0NjY5OTcyOTY0NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8e692bf4cd4828d950ed1a62aacd4acbad1c62c633268d7a9c9bccd2ccf34d02 |
| hovercard-subject-tag | issue:1360862868 |
| 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/massive-com/client-python/293/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec83f6fb524d2f162780f10d1621d413881422fda98a22404d31ea830a7827dc/massive-com/client-python/issues/293 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec83f6fb524d2f162780f10d1621d413881422fda98a22404d31ea830a7827dc/massive-com/client-python/issues/293 |
| og:image:alt | In init.py of websocket, it would be better like this (commented the original incorrect line): try: # cmsg: Union[ # List[WebSocketMessage], Union[str, bytes] # ] = await s.recv() cmsg: Union[ List... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | at-cf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/massive-com/client-python git https://github.com/massive-com/client-python.git |
| octolytics-dimension-user_id | 191946194 |
| octolytics-dimension-user_login | massive-com |
| octolytics-dimension-repository_id | 216660192 |
| octolytics-dimension-repository_nwo | massive-com/client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 216660192 |
| octolytics-dimension-repository_network_root_nwo | massive-com/client-python |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width