Replies: 1 comment
-
This might be possible by using a similar approach as the synchronous API wrapper: wrap each endpoint into You basically need to extend the falcon server script with synchronous functions for the middleware and do the If it is not too much code duplication, a version that supports both might even be something that can go into main line. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys,
Description
I attempted to deploy
Nominatim
after converting database to SQLite.I’m using
lambda-adapter
to proxy requests to the internal web server.When I tested the build locally, it worked as expected. However, after deploying it to an AWS Lambda URL, I encountered the error message in
Error
part.As I googled around, it seems that AWS Lambda cannot handle the asynchronous API call in
nominatim_api.server.falcon.server:run_wsgi
Additionally, I tried using
CMD ["gunicorn", "-b=:8080", "-w=1", "nominatim_api.server.falcon.server:run_wsgi"]
, but it still didn’t work because it is used for synchronous workers.Question
I would like to extend the server to support synchronous workers.
Error
Dockerfile sample
Beta Was this translation helpful? Give feedback.
All reactions