IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 13, 2011, 1:08:55 PM (16 years ago)
Author:
rhenders
Message:

Added czar-database clean-up interval to config file, and changed relevant code in czartool (interval is 30 minutes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czartool/Config.pm

    r30250 r30274  
    6161    $self->{czaruser} = $xc->findvalue('//czardatabase/user');
    6262    $self->{czarpassword} = $xc->findvalue('//czardatabase/password');
     63    $self->{czardbcleanupinterval} = $xc->findvalue('//czardatabase/cleanupinterval');
    6364
    6465    # roboczar
     
    105106###########################################################################
    106107#
     108# Returns the interval used in czarDB cleanup
     109#
     110###########################################################################
     111sub getCzarCleanupInterval {
     112    my ($self) = @_;
     113    return $self->{czardbcleanupinterval};
     114}
     115
     116###########################################################################
     117#
    107118# Returns the interval after which we consider a server to be down/stopped
    108119#
Note: See TracChangeset for help on using the changeset viewer.