Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
caab33ef
Commit
caab33ef
authored
Aug 09, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 509328: Make jobqueue.pl respond to the TERM signal
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=mkanat
parent
9726fb76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Runner.pm
Bugzilla/JobQueue/Runner.pm
+6
-0
No files found.
Bugzilla/JobQueue/Runner.pm
View file @
caab33ef
...
@@ -67,6 +67,12 @@ sub gd_check {
...
@@ -67,6 +67,12 @@ sub gd_check {
print
get_text
(
'job_queue_depth'
,
{
count
=>
$count
})
.
"\n"
;
print
get_text
(
'job_queue_depth'
,
{
count
=>
$count
})
.
"\n"
;
}
}
sub
gd_setup_signals
{
my
$self
=
shift
;
$self
->
SUPER::
gd_setup_signals
();
$SIG
{
TERM
}
=
sub
{
$self
->
gd_quit_event
();
}
}
sub
gd_run
{
sub
gd_run
{
my
$self
=
shift
;
my
$self
=
shift
;
...
...
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