Commit 892bf774 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(backend): autostart only at rvd_back launch

parent d8c0e8d2
......@@ -180,7 +180,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 (;;) {
......@@ -247,6 +246,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