Commit f666b32c authored by Michael Henretty's avatar Michael Henretty

stop sync scanning

parent 952910a8
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
"bcrypt": "^1.0.2", "bcrypt": "^1.0.2",
"bluebird": "^3.5.0", "bluebird": "^3.5.0",
"ff": "0.2.1", "ff": "0.2.1",
"find-remove": "^1.0.1",
"glob": "7.1.1 ", "glob": "7.1.1 ",
"gulp": "3.9.1", "gulp": "3.9.1",
"gulp-help": "^1.6.1", "gulp-help": "^1.6.1",
......
...@@ -9,7 +9,6 @@ const fs = require('fs'); ...@@ -9,7 +9,6 @@ const fs = require('fs');
const crypto = require('crypto'); const crypto = require('crypto');
const Promise = require('bluebird'); const Promise = require('bluebird');
const mkdirp = require('mkdirp'); const mkdirp = require('mkdirp');
const findRemoveSync = require('find-remove');
const AWS = require('./aws'); const AWS = require('./aws');
const PassThrough = require('stream').PassThrough; const PassThrough = require('stream').PassThrough;
const Transcoder = require('stream-transcoder'); const Transcoder = require('stream-transcoder');
...@@ -32,7 +31,6 @@ export default class Clip { ...@@ -32,7 +31,6 @@ export default class Clip {
constructor() { constructor() {
this.s3 = new AWS.S3(); this.s3 = new AWS.S3();
this.files = new Files(); this.files = new Files();
setInterval(findRemoveSync.bind(this, UPLOAD_PATH, {age: {seconds: 300}, extensions: '.mp3'}), 300000);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment