add a todo

This commit is contained in:
Girish Ramakrishnan
2020-08-11 12:57:37 -07:00
parent 9cdf5dd0f3
commit 885e90e810
+1
View File
@@ -68,6 +68,7 @@ function scheduleTask(appId, taskId, callback) {
if (!fs.existsSync(path.dirname(logFile))) safe.fs.mkdirSync(path.dirname(logFile)); // ensure directory
// TODO: set memory limit for app backup task
tasks.startTask(taskId, { logFile, timeout: 20 * 60 * 60 * 1000 /* 20 hours */, nice: 15 }, function (error, result) {
callback(error, result);