@@ -581,7 +581,7 class ABSConfiguration(Configuration): | |||
|
581 | 581 | route = 'http://'+module_ip+':'+str(module_port)+'/status' |
|
582 | 582 | |
|
583 | 583 | try: |
|
584 |
r = requests.get(route, timeout= |
|
|
584 | r = requests.get(route, timeout=1)#, timeout=0.7) | |
|
585 | 585 | answer = r.json() |
|
586 | 586 | modules_status[str(i)] = answer['status'] |
|
587 | 587 | module_messages[str(i)] = answer['message'] |
@@ -1,1 +1,2 | |||
|
1 |
{% extends "experiment_edit.html" %} |
|
|
1 | {% extends "experiment_edit.html" %} | |
|
2 | {% csrf_token %} |
@@ -14,7 +14,7 https://docs.djangoproject.com/en/1.8/ref/settings/ | |||
|
14 | 14 | import os |
|
15 | 15 | |
|
16 | 16 | BASE_DIR = os.path.dirname(os.path.abspath(__file__)) |
|
17 | ||
|
17 | print BASE_DIR | |
|
18 | 18 | # Quick-start development settings - unsuitable for production |
|
19 | 19 | # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ |
|
20 | 20 |
General Comments 0
You need to be logged in to leave comments.
Login now