HackerTrans
トップ新着トレンドコメント過去質問紹介求人

constantin0

no profile record

コメント

constantin0
·2 年前·議論
The same kind of issue prevents Celery (a python task queue) "soft timeout" feature from working reliably.

It throws an exception _anywhere_ in the worker process to signal the timeout, but in practice the exception is often eaten by too-generic except blocks in library code and never reaches user code.

An interesting solution is structured concurrency because it introduces "raise-safe" points (the "await"s), but the ecosystem is not there yet.