mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix "installRetry" was declared a constant and changed
This commit is contained in:
parent
1af21735a9
commit
01888ff078
@ -218,7 +218,7 @@ var reinstallTimeout;
|
|||||||
function reinstallModules(moduleList) {
|
function reinstallModules(moduleList) {
|
||||||
const promises = [];
|
const promises = [];
|
||||||
const reinstallList = [];
|
const reinstallList = [];
|
||||||
const installRetry = 30000;
|
let installRetry = 30000;
|
||||||
if (settings.hasOwnProperty('autoInstallModulesRetry')) {
|
if (settings.hasOwnProperty('autoInstallModulesRetry')) {
|
||||||
log.warn(log._("server.deprecatedOption",{old:"autoInstallModulesRetry", new:"externalModules.autoInstallRetry"}));
|
log.warn(log._("server.deprecatedOption",{old:"autoInstallModulesRetry", new:"externalModules.autoInstallRetry"}));
|
||||||
installRetry = settings.autoInstallModulesRetry;
|
installRetry = settings.autoInstallModulesRetry;
|
||||||
|
Loading…
Reference in New Issue
Block a user