Ignore:
Timestamp:
Oct 1, 2010, 9:22:20 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
afaef6e
Parents:
385cce2
git-author:
David Benjamin <davidben@mit.edu> (09/25/10 02:02:45)
git-committer:
David Benjamin <davidben@mit.edu> (10/01/10 21:22:20)
Message:
Track names along with timers, add :show timers

This will help people with BarnOwls eating CPU to diagnose timer leaks.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Twitter/lib/BarnOwl/Module/Twitter/Handle.pm

    rc8d9f84 rc6adf17  
    160160    }
    161161
     162    my $nickname = $self->{cfg}->{account_nickname};
    162163    if($self->{cfg}->{poll_for_tweets}) {
    163164        $self->{timer} = BarnOwl::Timer->new({
     165            name     => "Twitter ($nickname) poll_for_tweets",
    164166            after    => $delay,
    165167            interval => 90,
     
    170172    if($self->{cfg}->{poll_for_dms}) {
    171173        $self->{direct_timer} = BarnOwl::Timer->new({
     174            name     => "Twitter ($nickname) poll_for_dms",
    172175            after    => $delay,
    173176            interval => 180,
Note: See TracChangeset for help on using the changeset viewer.