setting workers to anything but 1 causes AttributeError when used in IIS with HttpPlatformHandler with stdout capture #2263
-
I've been tasked with ensuring a service I wrote with FastAPI & Uvicorn can run on IIS. Long story short, when used via said IIS handler, if worker count is set to anything but 1 (i.e. multiple works are used), and
Looks like adding AttributeError to the except clause in line 38 solves the issue and std output from all workers is catched by the IIS handler and logged to the file. Not sure it catching all |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yeah, a fix for this was merged some days ago. I'll make a release soon. |
Beta Was this translation helpful? Give feedback.
Yeah, a fix for this was merged some days ago. I'll make a release soon.