Skip to content
#

asgi

Here are 167 public repositories matching this topic...

strawberry
patrick91
patrick91 commented Dec 25, 2020

Sometimes a websockets/subscription connection gets closed by the browser and trying to send a message fails, we have a catch all exception that sends the error via GraphQL (useful for resolver exceptions), but we need to handle websockets.exceptions.ConnectionClosedOK and terminate the subscription (a return should be enough).

https://github.com/strawberry-graphql/strawberry/blob/master/stra

rgarrigue
rgarrigue commented Apr 24, 2020

HI again ! Last issue for the period I believe ;-)

Would you mind adding a quick doc about how to extend the metrics ? The FastAPI / starlette ones are a very good basis, but I'ld like to add some related to my app.

For example I have a Postgres database, I want to add the number of active subscription in the metrics, aka the result of a SELECT * FROM subscription WHERE active == 1 that wo

Improve this page

Add a description, image, and links to the asgi topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the asgi topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.