Changeset 1324
- Timestamp:
- 10/18/09 08:12:20 (6 weeks ago)
- Files:
-
- 1 modified
-
trunk/server/lib/MogileFS/Store.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/lib/MogileFS/Store.pm
r1323 r1324 1188 1188 my ($self, $fidid, $type, $in) = @_; 1189 1189 1190 my $nexttry = 0; 1191 if ($in) { 1192 $nexttry = $self->unix_timestamp . " + " . int($in); 1193 } 1190 my $nexttry = $self->unix_timestamp . " + " . int($in); 1194 1191 1195 1192 $self->insert_ignore("INTO file_to_queue (fid, type, nexttry) ". … … 1204 1201 return 1; 1205 1202 } 1206 my $nexttry = 0; 1207 if ($in) { 1208 $nexttry = $self->unix_timestamp . " + " . int($in); 1209 } 1203 my $nexttry = $self->unix_timestamp . " + " . int($in); 1210 1204 1211 1205 # TODO: convert to prepared statement?
