HackerTrans
TopNewTrendsCommentsPastAskShowJobs

constantin0

no profile record

comments

constantin0
·2년 전·discuss
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.