Skip to content
Snippets Groups Projects
Commit 9804ba69 authored by Tim Kreuzer's avatar Tim Kreuzer
Browse files

set system limit to at least 5

parent f7cae3d1
Branches v0.11
No related tags found
No related merge requests found
...@@ -346,6 +346,7 @@ async def is_system_allowed(spawner, user_options): ...@@ -346,6 +346,7 @@ async def is_system_allowed(spawner, user_options):
if limit > system_limit: if limit > system_limit:
system_limit = limit system_limit = limit
if system_limit: if system_limit:
system_limit = max(system_limit, 5)
current = 0 current = 0
for spawner in named_spawners: for spawner in named_spawners:
if ( if (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment