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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. 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}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-session-timer",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
 
5
5
  "description": "Self-destructing routes or middleware for Express.js applications",
6
6
  "main": "index.js",