diff --git a/mxproxmox/mxproxmox b/mxproxmox/mxproxmox index 0aa9735..d4d8ad3 100755 --- a/mxproxmox/mxproxmox +++ b/mxproxmox/mxproxmox @@ -101,11 +101,11 @@ sub server_available_bytes { } -# return true if there are less than 3 jobs running on the server +# return true if there are less than 4 jobs running on the server # sub server_has_free_slots { my $r = get('nodes/localhost/tasks?running=1'); - return @{$r->{data}} < 3; + return @{$r->{data}} < 4; for my $j ( @{$r->{data}} ) { print "active job: ",$j->{worker_id},"\n"; }