We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cpu
1 parent c0563ab commit 6531b6bCopy full SHA for 6531b6b
tljh/config_schema.py
@@ -79,7 +79,23 @@
79
"description": "User CPU and memory limits.",
80
"type": "object",
81
"additionalProperties": False,
82
- "properties": {"memory": {"type": "string"}, "cpu": {"type": "integer"}},
+ "properties": {"memory": {"type": "string"}, "cpu": {
83
+ "oneOf": [
84
+ {
85
+ "type": "integer",
86
+ "minimum": 0
87
+ },
88
89
+ "type": "number",
90
91
92
93
+ "type": "string",
94
+ "enum": ["None"]
95
+ }
96
+ ]
97
98
99
},
100
"UserEnvironment": {
101
0 commit comments