robtweed/qewd

Question about config/params

killmenot opened this issue · 2 comments

HI @robtweed

qewd/lib/master.js

Lines 119 to 124 in b74a7c5

if (params.resilientMode) {
config.resilientMode = {
documentName: params.resilientMode.queueDocumentName || 'ewdQueue',
keepPeriod: params.resilientMode.keepPeriod || 3600
}
}

Should it be if (params.resilientMode) { or if (config.resilientMode) {?

The code is correct as it is. params.resilientMode is the incoming user setting. config.resilientMode is what is passed to the worker processes