We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e2b9c12 + a51bd8b commit 207eaafCopy full SHA for 207eaaf
1 file changed
templates/gconf.py
@@ -1,6 +1,8 @@
1
bind = '0.0.0.0'
2
try:
3
workers = int({{ if exists "/deis/controller/workers" }}{{ getv "/deis/controller/workers" }}{{ else }}"not set"{{end}})
4
+ if workers < 1:
5
+ raise ValueError()
6
except (NameError, ValueError):
7
import multiprocessing
8
0 commit comments