Uchechukwu Orji
Uchechukwu Orji
I would like to fix this @benoit74
Will probably take a bit longer than I expected because in some places, the code expects a string and passing an instance of Path (from pathlib) breaks things when I...
@benoit74 , I am almost done with this fix and I have tested the command `python src/gutenberg2zim --books 84` and everything works fine (except that the paths displayed in the...
I tried to work with `PurePosixPath` and I noticed that if you call it on a url which has `http://` (two consecutive slashes), it strips one off and this in...
In my implementation, I used f-strings completely and got rid of `Path` completely. And I chose the convention that paths end without a slash, so that I have to explicitly...
@benoit74 , I would like to implement this. Should I stick with keeping the module names or just use `gutenberg2zim` as @rgaudin suggested?
Simulated with sleep of 10s while client made a request with timeout of 5s and API proceeded with request even after client timed out. Did some digging and it seems...
> do we have something returning HTTP error to the client if the code takes too long (too long being probably at least 1 minute, maybe even more) No
> if no, could we implement something in FastAPI to stop code running for too long ? given most of the code is synchronous. if it were asynchronous, we could...
No. They don't seem to have a flag for it in the timeouts https://uvicorn.dev/settings/#timeouts The timeout flags they have aren't particularly helpful