Categories
Mastering Development

Flask Application with multiprocessing randomly connection refused with multi request

I have an API written in a flask that crawls data from the site using selenium. when making a single request it works fine. but, when I make multiple requests from my local then gives connection refused error for some requests. app.py app = Flask(__name__) if __name__ == ‘__main__’: app.run(host=”0.0.0.0″, port=5001, debug=False) when I make […]