Skip to content

Commit

Permalink
fix: have no timeout by default
Browse files Browse the repository at this point in the history
  • Loading branch information
orsagie committed Jun 19, 2019
1 parent 94a8d94 commit 641672e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/sub-process.ts
Expand Up @@ -4,8 +4,9 @@ import * as debugModule from 'debug';

// To enable debugging output, run the CLI as `DEBUG=snyk-sbt-plugin snyk ...`
const debugLogging = debugModule('snyk-sbt-plugin');
// 5 minutes default, 0 to disable
const TIMEOUT = process.env.PROC_TIMEOUT || '300000';

// Disabled by default, to set run the CLI as `PROC_TIMEOUT=100000 snyk ...`
const TIMEOUT = process.env.PROC_TIMEOUT || '0';
const PROC_TIMEOUT = parseInt(TIMEOUT, 10);

export const execute = (
Expand Down

0 comments on commit 641672e

Please sign in to comment.