Permalink
Browse files

And some more.

  • Loading branch information...
1 parent 9ede931 commit 5984b907360df220112a4544912072dd36b2ca41 matthew committed Feb 2, 2008
Showing with 10 additions and 10 deletions.
  1. +5 −5 web/gaze-rest.cgi
  2. +5 −5 web/gaze.cgi
View
@@ -7,7 +7,7 @@
# Email: chris@mysociety.org; WWW: http://www.mysociety.org/
#
-my $rcsid = ''; $rcsid .= '$Id: gaze-rest.cgi,v 1.24 2008-02-02 12:30:50 matthew Exp $';
+my $rcsid = ''; $rcsid .= '$Id: gaze-rest.cgi,v 1.25 2008-02-02 19:45:54 matthew Exp $';
use strict;
@@ -36,10 +36,10 @@ my $W = new mySociety::WatchUpdate();
# FastCGI signal handling
my $exit_requested = 0;
my $handling_request = 0;
-$SIG{TERM} = $SIG{USR1} = sub {
- $exit_requested = 1;
- # exit(0) unless $handling_request;
-};
+#$SIG{TERM} = $SIG{USR1} = sub {
+# $exit_requested = 1;
+# # exit(0) unless $handling_request;
+#};
# XXX do this in Gaze.pm?
my %countries = map { $_ => 1 } @{Gaze::get_find_places_countries()};
View
@@ -11,7 +11,7 @@
# Email: chris@mysociety.org; WWW: http://www.mysociety.org/
#
-my $rcsid = ''; $rcsid .= '$Id: gaze.cgi,v 1.12 2008-02-02 12:30:50 matthew Exp $';
+my $rcsid = ''; $rcsid .= '$Id: gaze.cgi,v 1.13 2008-02-02 19:45:54 matthew Exp $';
use strict;
@@ -36,10 +36,10 @@ my $W = new mySociety::WatchUpdate();
# FastCGI signal handling
my $exit_requested = 0;
my $handling_request = 0;
-$SIG{TERM} = $SIG{USR1} = sub {
- $exit_requested = 1;
- # exit(0) unless $handling_request;
-};
+#$SIG{TERM} = $SIG{USR1} = sub {
+# $exit_requested = 1;
+# # exit(0) unless $handling_request;
+#};
use constant cache_age => 86400;

0 comments on commit 5984b90

Please sign in to comment.