Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
c81bb4d3
Commit
c81bb4d3
authored
Dec 12, 2019
by
Francesc Guasch
Browse files
fix(backend): do not count waiting processes
parent
2a5c25c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
c81bb4d3
...
...
@@ -2287,7 +2287,8 @@ sub _domain_working {
}
my
$sth
=
$CONNECTOR
->
dbh
->
prepare
("
SELECT id, status FROM requests
"
.
"
WHERE id <> ? AND id_domain=?
"
.
"
AND (status <> 'requested' AND status <> 'done' AND command <> 'set_base_vm')
");
.
"
AND (status <> 'requested' AND status <> 'done' AND status <> 'waiting'
"
.
"
AND command <> 'set_base_vm')
");
$sth
->
execute
(
$id_request
,
$id_domain
);
my
(
$id
,
$status
)
=
$sth
->
fetchrow
;
# warn "CHECKING DOMAIN WORKING "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment