Changeset 1327

Show
Ignore:
Timestamp:
10/18/09 08:12:27 (6 weeks ago)
Author:
dormando
Message:

fix file_to_replicate like the other tables

always insert with (now) instead of 0 for nexttry.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/server/lib/MogileFS/Store.pm

    r1324 r1327  
    11621162    my ($self, $fidid, $from_devid, $in) = @_; 
    11631163 
    1164     my $nexttry = 0; 
    1165     if ($in) { 
    1166         $nexttry = $self->unix_timestamp . " + " . int($in); 
    1167     } 
     1164    my $nexttry = $self->unix_timestamp . " + " . int($in); 
    11681165 
    11691166    $self->insert_ignore("INTO file_to_replicate (fid, fromdevid, nexttry) ".