pydoll-python flask delayed response #120
Replies: 2 comments
-
Good question, I haven't tried it yet, hahaha. |
Beta Was this translation helpful? Give feedback.
-
Hmm, interesting. You can open an issue with code examples, that would help a lot |
Beta Was this translation helpful? Give feedback.
-
When using PyDolls, I integrated it into a Flask project. The issue I’m currently facing is that when I use an asynchronous API, both the initial business logic and the simulated operations execute very quickly according to the logs. However, it always takes about 10 more seconds before I finally get the response from the API.
(I want to clarify that this delay is not caused by my custom response wrapper or any other part of my code — I’ve already tested and ruled that out.)
At this point, my only remaining assumption is that it might be waiting for the process to complete or for socket handling to finish. I’m not sure if that’s actually the case.
Have any of you tried using PyDolls within a Flask project? If so, do you have any best practices or experience you can share?
Beta Was this translation helpful? Give feedback.
All reactions