Testing: In the current setup function executes js functions on isolator through a rest api and it calls the external address https://isolator.peterstockings.com/execute, switching to interal http://isolator.web:5000/execute. Im checking if this results in a speed up
This commit is contained in:
2
app.py
2
app.py
@@ -36,7 +36,7 @@ class User(UserMixin):
|
||||
return None
|
||||
|
||||
|
||||
API_URL = 'https://isolator.peterstockings.com/execute' #'http://127.0.0.1:5000/execute'
|
||||
API_URL = os.environ.get('API_URL', 'http://isolator.web:5000/execute') # 'https://isolator.peterstockings.com/execute' 'http://127.0.0.1:5000/execute'
|
||||
|
||||
DEFAULT_FUNCTION_NAME = 'foo'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user