pass log file as argument to task worker

initially, i thought i can hardcode the log file into taskworker.js
depending on the task type but for apptask, it's not easy to get the
appId from the taskId unless we introspect task arguments as well.
it's easier for now to pass it as an argument.
This commit is contained in:
Girish Ramakrishnan
2020-08-04 22:16:38 -07:00
parent 182c162dc4
commit e04871f79f
4 changed files with 43 additions and 29 deletions
+1 -2
View File
@@ -5,8 +5,7 @@
'use strict';
var addons = require('../addons.js'),
appdb = require('../appdb.js'),
var appdb = require('../appdb.js'),
apps = require('../apps.js'),
apptask = require('../apptask.js'),
async = require('async'),