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
Post a Comment