Start using stopTimeoutMs

pull/228/head
Dos Moonen 2017-06-28 15:56:12 +02:00 committed by GitHub
parent a3f3549031
commit 0833d67c26
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ namespace winsw.Plugins.RunawayProcessKiller
public RunawayProcessKillerExtension(String pidfile, int stopTimeoutMs = 5000, bool stopParentFirst = false, bool checkWinSWEnvironmentVariable = true)
{
this.Pidfile = pidfile;
this.StopTimeout = TimeSpan.FromMilliseconds(5000);
this.StopTimeout = TimeSpan.FromMilliseconds(stopTimeoutMs);
this.StopParentProcessFirst = stopParentFirst;
this.CheckWinSWEnvironmentVariable = checkWinSWEnvironmentVariable;
}