]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/cli.py
api: generalize error handling
[nominatim.git] / nominatim / cli.py
index cedbdb4a5f984b0dc9b2bd5e60e450fad2adebd0..d34ef118ed9a48609c455616207d36387e006802 100644 (file)
@@ -236,7 +236,7 @@ class AdminServe:
                 server_module = importlib.import_module('nominatim.server.sanic.server')
 
                 app = server_module.get_application(args.project_dir)
-                app.run(host=host, port=port, debug=True)
+                app.run(host=host, port=port, debug=True, single_process=True)
             else:
                 import uvicorn # pylint: disable=import-outside-toplevel