Changeset 75
- Timestamp:
- 11/30/05 10:43:54 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/soft/ObsData/ObsData/Repository.pm
- Property cvs2svn:cvs-rev changed from 1.18 to 1.19
r73 r75 149 149 # Comparing time of the conf with time of conf during last process 150 150 # if config has changed, maybe something better will happend 151 my $configtime = (stat($self->{obsdata}->{config}->GetFileName))[9]; 152 if (defined($oldconftime) && $configtime <= $oldconftime) { 151 if (defined($oldconftime) && $self->{obsdata}->config_mtime <= $oldconftime) { 153 152 $conftimeok = 1; 154 153 } … … 163 162 ); 164 163 } elsif (!$conftimeok) { 165 $self->loging(0, "config has changed since last process: % dvs %d, retrying it",166 $oldconftime ,167 $ configtime164 $self->loging(0, "config has changed since last process: %s vs %d, retrying it", 165 $oldconftime || '(none)', 166 $self->{obsdata}->config_mtime 168 167 ); 169 168 return 1; … … 201 200 $self->{status}->newval($self->{archivefile}, 'size', $filestats[7]); 202 201 203 my $configtime = (stat($self->{obsdata}->{config}->GetFileName))[9]; 204 $self->{status}->newval($self->{archivefile}, 'configtime', $configtime); 202 $self->{status}->newval($self->{archivefile}, 'configtime', $self->{obsdata}->config_mtime); 205 203 } 206 204
Note: See TracChangeset
for help on using the changeset viewer.