The Wayback Machine - https://web.archive.org/web/20201022085347/https://github.com/topics/async
Skip to content
#

async

Here are 3,898 public repositories matching this topic...

fastapi
tiangolo
tiangolo commented Jun 12, 2020

First check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.
  • I already read and followed all the tutorial in the docs and didn't find an answ
webknjaz
webknjaz commented Nov 30, 2019

Long story short

I've been using low-level machinery exposed by aiohttp for my framework.
When I learned about handle_signals=True I started testing it and it turned out that my process always exited with return code 1 on SIGTERM and SIGINT.

This was confusing and I thought that it's a bug. But then, after diving into the code deeper, I realized that with this option enabled, aioht

njsmith
njsmith commented May 18, 2020

What should happen if deliver_cancel raises an exception? In the current implementation, the shielded cancel scope will prevent it from propagating until the process exits, which might take a while if the crash occurred before signaling the process in any way. Maybe on exception from a user-specified deliver_cancel we should call the default deliver_cancel to kill the process? Or just kill() since

transmittable-thread-local

📌 The missing Java™ std lib(simple & 0-dependency) for framework/middleware, provide an enhanced InheritableThreadLocal that transmits ThreadLocal values between threads even using thread pooling components.
  • Updated Oct 19, 2020
  • Kotlin

Improve this page

Add a description, image, and links to the async 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 async topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.