Changeset 51a7fc5


Ignore:
Timestamp:
Dec 8, 2008, 7:52:39 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
d689fc7
Parents:
5aabe2d7
Message:
Set the timeout on Net::Twitter's LWP::UserAgent to 1s.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/BarnOwl/Module/Twitter.pm

    r5aabe2d7 r51a7fc5  
    8181                              password   => $cfg->{password},
    8282                              source => 'barnowl');
     83
     84eval {
     85    $twitter->{ua}->timeout(1);
     86};
    8387
    8488if(!defined($twitter->verify_credentials())) {
Note: See TracChangeset for help on using the changeset viewer.