wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[ljcom] r11517: LJSV-2037: (Logging twitter digest activ...

Committer: gprochaev
LJSV-2037: (Logging twitter digest activity)

U   trunk/cgi-bin/LJ/TwitterDigest.pm
Modified: trunk/cgi-bin/LJ/TwitterDigest.pm
===================================================================
--- trunk/cgi-bin/LJ/TwitterDigest.pm	2012-02-22 12:16:34 UTC (rev 11516)
+++ trunk/cgi-bin/LJ/TwitterDigest.pm	2012-02-22 12:19:23 UTC (rev 11517)
@@ -218,6 +218,8 @@
 
     if (my $u_system = LJ::load_user('system')) {
         unless ($u_system->rate_log('twitter_digest', 1)) {
+            $u->log_event ("twitter_skipped", { text => "twitter digest rate limit reached" });
+
             # wait a little bit so as to not hit the limit repeatedly,
             # because we're in a worker context right now
             sleep 1;

Tags: gprochaev, ljcom, pm, wisest-owl
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