mirror of https://github.com/winsw/winsw
Start using stopTimeoutMs
parent
a3f3549031
commit
0833d67c26
|
@ -47,7 +47,7 @@ namespace winsw.Plugins.RunawayProcessKiller
|
||||||
public RunawayProcessKillerExtension(String pidfile, int stopTimeoutMs = 5000, bool stopParentFirst = false, bool checkWinSWEnvironmentVariable = true)
|
public RunawayProcessKillerExtension(String pidfile, int stopTimeoutMs = 5000, bool stopParentFirst = false, bool checkWinSWEnvironmentVariable = true)
|
||||||
{
|
{
|
||||||
this.Pidfile = pidfile;
|
this.Pidfile = pidfile;
|
||||||
this.StopTimeout = TimeSpan.FromMilliseconds(5000);
|
this.StopTimeout = TimeSpan.FromMilliseconds(stopTimeoutMs);
|
||||||
this.StopParentProcessFirst = stopParentFirst;
|
this.StopParentProcessFirst = stopParentFirst;
|
||||||
this.CheckWinSWEnvironmentVariable = checkWinSWEnvironmentVariable;
|
this.CheckWinSWEnvironmentVariable = checkWinSWEnvironmentVariable;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue