We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e3c374 commit f85a186Copy full SHA for f85a186
1 file changed
controller/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