Giovanni Barillari

Results 210 comments of Giovanni Barillari

@novichikhin can you try with `wrap_loader=False` in the serve method and defining/importing everything into a single method? Multiprocessing requires objects to be pickable. Something like: ```python def app_loader(): from whatever...

@novichikhin I don't really know how to solve the pickling issues. Maybe adding support for factories should solve your need?

> Maybe it's little late To avoid the pickle problem, you can use the "fork" process creation strategy instead of the "spawn". Put it somewhere closer to the beginning of...

> @gi0baro Is this the correct ticket to monitor for eventually adding a CLI option allowing Granian to accept an app factory function name? Not really, please open up a...

@matthiask thank you for the update. Can you clarify on the `patchelf` usage/recommendation?

🤔 a timeout on what? can you be more specific? Also, if I'd implementing a benchmark, and we're talking about a timeout on request time, I'd implement it on the...

@jefer94 1.0 added the proper code to handle `cancel` calls on `PyFutureAwaitable`, this should solve your issue. As for the timeout thing, I'm still not convinced Granian should implement this...

@myers thank you for the PR, FYI I'm AFK during these days, I'll look at this after Jan 3rd

@myers I'm sorry for the late reply, but I finally managed to take a look at this. I also wanted to release 1.0 before this, as the Hyper API changed...

@bluetech acquiring GIL in that section seems good to me. I'll just probably simplify the patch to relay on `display` method of error, like: ```diff diff --git a/src/wsgi/http.rs b/src/wsgi/http.rs index...