Commit d1f81f1e authored by Francesc Guasch's avatar Francesc Guasch
Browse files

Skip refresh machine if done recently

parent 22e0163f
......@@ -1361,6 +1361,8 @@ sub refresh_machine {
my $id_requested = _requested('refresh_machine',id_domain => $id_domain);
return Ravada::Request->open($id_requested) if $id_requested;
return if done_recently(undef,60,'refresh_machine');
my $req = _new_request($self
, command => 'refresh_machine'
, args => $args
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