Set allow_none=True for limit/guarantee floats

This commit is contained in:
YuviPanda
2016-11-09 09:41:54 -08:00
parent b4bc5437dd
commit a00c13ba67

View File

@@ -205,6 +205,7 @@ class Spawner(LoggingConfigurable):
cpu_limit = Float(
None,
allow_none=True,
help="""
Maximum number of cpu-cores a single-user server is allowed to use.
@@ -236,6 +237,7 @@ class Spawner(LoggingConfigurable):
cpu_guarantee = Float(
None,
allow_none=True,
help="""
Maximum number of cpu-cores a single-user server is allowed to use.