Changeset 369

Show
Ignore:
Timestamp:
08/23/06 23:16:05 (2 years ago)
Author:
bradfitz
Message:

watchdog stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/server-newrepl/lib/MogileFS/Worker/Checker.pm

    r368 r369  
    7272                                                "ORDER BY nextcheck LIMIT 1000"); 
    7373            return error("database error: " . $dbh->errstr) if $dbh->err; 
     74            $self->still_alive; 
    7475 
    7576            # if nothing to do, we're done 
     
    8283                my $rv = check_fid($dbh, $fid, $setting) || 0; 
    8384                my $elapsed = Time::HiRes::time() - $t1; 
     85                $self->still_alive; 
    8486 
    8587                # process the return value to do something 
     
    255257} 
    256258 
     259sub watchdog_timeout { 15 } 
     260 
    2572611; 
    258262