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
3afdc510
Commit
3afdc510
authored
May 18, 2016
by
Francesc Guasch
Browse files
The request may not be connected to the DB
parent
81a05023
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
3afdc510
...
...
@@ -8,6 +8,7 @@ use DBIx::Connector;
use
Moose
;
use
YAML
;
use
Ravada::
Request
;
use
Ravada::VM::
KVM
;
=head1 NAME
...
...
@@ -229,6 +230,8 @@ This is run in the ravada backend. It processes the commands requested by the fr
sub
process_requests
{
my
$self
=
shift
;
$
Ravada::Request::
CONNECTOR
=
$CONNECTOR
;
my
$sth
=
$CONNECTOR
->
dbh
->
prepare
("
SELECT id FROM requests WHERE status='requested'
");
$sth
->
execute
;
while
(
my
(
$id
)
=
$sth
->
fetchrow
)
{
...
...
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