diff --git a/lib/util.js b/lib/util.js index 0682155..b7de28d 100644 --- a/lib/util.js +++ b/lib/util.js @@ -280,7 +280,7 @@ function parseHead(head, rights) { space = head[i] === ' '; } } - to = 1000; + to = 2000; result.push({ from: from, to: to, @@ -423,7 +423,7 @@ function powerShellRelease() { function powerShell(cmd) { if (_psPersistent) { - const id = Math.random().toString(36).substr(2, 10); + const id = Math.random().toString(36).substring(2, 12); return new Promise((resolve) => { process.nextTick(() => { function callback(data) {