Commit 9677fbe0 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(backend): autostart only at rvd_back launch

parent eaca73ae
......@@ -168,7 +168,6 @@ sub do_start {
my $t_refresh = 0;
my $ravada = Ravada->new( %CONFIG );
autostart_machines($ravada);
# Ravada::Request->enforce_limits();
#Ravada::Request->refresh_vms();
for (;;) {
......@@ -235,6 +234,7 @@ sub start {
$vm->id;
}
$ravada->_wait_pids();
autostart_machines($ravada);
}
clean_old_requests();
for (;;) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment