Skip to content

Commit

Permalink
feat: Default the timeout for vdiff if not set to 5000, rather than 2000
Browse files Browse the repository at this point in the history
  • Loading branch information
svanherk committed Nov 13, 2023
1 parent fcbb66b commit 0d6c20a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/server/wtr-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ export class WTRConfig {

const config = {};

if (timeout) config.timeout = String(timeout);
if (timeout) {
config.timeout = String(timeout);
} else if (group === 'vdiff') {
config.timeout = '5000';
}
if (open || watch) config.timeout = '0';
if (grep) config.grep = grep;
if (slow) {
Expand Down

0 comments on commit 0d6c20a

Please sign in to comment.