slartyblartfast (slartyblartfast) wrote in changelog,
slartyblartfast
slartyblartfast
changelog

[livejournal] r15449: Bugfix: Don't use cond_debug() method.

Committer: mchernyshev
Bugfix: Don't use cond_debug() method.

U   trunk/bin/worker/birthday-notify
U   trunk/bin/worker/expunge-users
U   trunk/bin/worker/syn-suck
Modified: trunk/bin/worker/birthday-notify
===================================================================
--- trunk/bin/worker/birthday-notify	2009-07-09 07:31:37 UTC (rev 15448)
+++ trunk/bin/worker/birthday-notify	2009-07-09 08:02:56 UTC (rev 15449)
@@ -95,7 +95,7 @@
 }
 
 sub debug {
-    LJ::Worker::Manual->cond_debug(@_);
+    LJ::Worker::DEBUG(@_);
 }
 
 

Modified: trunk/bin/worker/expunge-users
===================================================================
--- trunk/bin/worker/expunge-users	2009-07-09 07:31:37 UTC (rev 15448)
+++ trunk/bin/worker/expunge-users	2009-07-09 08:02:56 UTC (rev 15449)
@@ -22,7 +22,7 @@
     unless $LJ::MOVE_SERVER;
 
 sub debug {
-    LJ::Worker::Manual->cond_debug(@_);
+    LJ::Worker::DEBUG(@_);
 }
 
 sub work {

Modified: trunk/bin/worker/syn-suck
===================================================================
--- trunk/bin/worker/syn-suck	2009-07-09 07:31:37 UTC (rev 15448)
+++ trunk/bin/worker/syn-suck	2009-07-09 08:02:56 UTC (rev 15449)
@@ -31,7 +31,7 @@
         my $lockname = "synsuck-user-" . $urow->{user};
         my $lock = LJ::locker()->trylock($lockname);
         next unless $lock;
-        $class->cond_debug("got lock $lockname");
+        LJ::Worker::DEBUG("got lock $lockname");
         $done++;
         LJ::SynSuck::update_feed($urow, $class->verbose);
     }

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments