mongodb - Python flask post method overflow -


i = 0 @app.route('/', methods=['post']) def function():     entry = {               'person': i,                    }     db.textbot.insert_one(entry)     = + 1     # labour intensive function lasts 2 seconds in execution time.  

if have script loads url , calls function every second, program crash?


Comments

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -