Turn on threading for Werkzeug's run_simple()
This is now default behavior. Without this, moto is unable to deal with simultaneous requests.
This commit is contained in:
parent
1f907eddce
commit
f4a2f1a51f
@ -102,7 +102,7 @@ def main(argv=sys.argv[1:]):
|
||||
main_app = DomainDispatcherApplication(create_backend_app, service=args.service)
|
||||
main_app.debug = True
|
||||
|
||||
run_simple(args.host, args.port, main_app)
|
||||
run_simple(args.host, args.port, main_app, threaded=True)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user