Merge pull request #228 from Darsstar/patch-1

Start using stopTimeoutMs
pull/240/head
Oleg Nenashev 2017-07-07 15:04:31 +02:00 committed by GitHub
commit 8d7f81f213
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;
}