Skip to content

5.8.3

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Nov 19:04
b1f4e9b

A fix for multi-threaded serving on event loops other than uvloop.

Fixed

  • STARIO_THREADS>1 worker threads run the same loop class as the loop
    running serve(), whatever it is.
    Before, only uvloop was mirrored: any
    other loop (loopyloop, rloop, a uvloop.Loop subclass) left the extra
    threads on a stdlib SelectorEventLoop, so one thread ran the chosen loop
    and the rest silently did not. A loop class that can't be built without
    arguments now fails startup with a StarioError naming it.