# ============LICENSE_START===============================================
# Copyright (C) 2022 Nordix Foundation. All rights reserved.
+# Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved.
# ========================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
else:
return Response("Force delay: " + str(forced_settings['delay']) + " sec set for all external server responses until it is resetted ", 200, mimetype=TEXT_PLAIN)
-port_number = 2222
+port_number = 3333
if len(sys.argv) >= 2:
if isinstance(sys.argv[1], int):
port_number = sys.argv[1]
app.add_api('EXT_SRV_api.yaml')
if __name__ == '__main__':
- app.run(port=port_number, host="127.0.0.1", threaded=False)
+ app.run(port=port_number, host="127.0.0.1")