Browse Source

Code style fix (3)

pull/2/head
NGPixel 8 years ago
parent
commit
6e65c63606
1 changed files with 1 additions and 1 deletions
  1. 2
      libs/uploads.js

2
libs/uploads.js

@ -159,7 +159,7 @@ module.exports = {
if(err.code === 'EBUSY' && attempt < 5) {
return Promise.delay(100).then(() => {
return self.deleteUploadsFileTry(f, attempt + 1);
})
});
} else {
winston.warn('Unable to delete uploads file ' + f.filename + '. File is locked by another process and multiple attempts failed.');
return true;

Loading…
Cancel
Save