Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
5d6af542
Commit
5d6af542
authored
Sep 03, 2010
by
Leo Gordon
Browse files
less talkative adaptor
parent
654f6481
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
+1
-5
No files found.
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
View file @
5d6af542
...
...
@@ -558,19 +558,15 @@ sub release_undone_jobs_from_worker {
$sth
->
execute
();
my
$cod
=
$worker
->
cause_of_death
();
my
$msg
=
"
GarbageCollector: The worker (worker_id=
$worker_id
) died because of
$cod
";
my
$counter
=
0
;
my
$msg
=
"
GarbageCollector: The worker died because of
$cod
";
while
(
my
(
$job_id
,
$retry_count
)
=
$sth
->
fetchrow_array
())
{
$self
->
db
()
->
get_JobMessageAdaptor
()
->
register_message
(
$job_id
,
$msg
,
1
);
my
$may_retry
=
(
$cod
ne
'
MEMLIMIT
'
and
$cod
ne
'
RUNLIMIT
');
$self
->
release_and_age_job
(
$job_id
,
$max_retry_count
,
$may_retry
);
$counter
++
;
}
$sth
->
finish
();
warn
"
$msg
, released
$counter
job(s)
\n
";
}
...
...
Write
Preview
Markdown
is supported
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