no need to check - mgr is not started if 0 workers

This commit is contained in:
Oliver Gorwits
2014-05-17 19:57:45 +01:00
parent 46ebe4cd6a
commit aacb149d09

View File

@@ -25,8 +25,6 @@ sub worker_begin {
sub worker_body { sub worker_body {
my $self = shift; my $self = shift;
my $wid = $self->wid; my $wid = $self->wid;
my $num_slots = $self->do('num_workers')
or return debug "mgr ($wid): this node has no workers... quitting manager";
while (1) { while (1) {
debug "mgr ($wid): getting potential jobs for $num_slots workers"; debug "mgr ($wid): getting potential jobs for $num_slots workers";