diff options
author | Matt Wu <matt@ext2fsd.com> | 2016-04-19 17:35:21 +0300 |
---|---|---|
committer | Matt Wu <matt@ext2fsd.com> | 2016-04-19 17:35:21 +0300 |
commit | 613077c77cddc6257a126c977c0875ac27f49e21 (patch) | |
tree | 7f578b64af10accdf00ba7508674713e7540d96a | |
parent | d570f95d9ab797f3ac052ecb0bb736303fd297cf (diff) |
FIXME: lessen notification timeout from 30s to 5s
-rw-r--r-- | Ext2Srv/Mount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ext2Srv/Mount.cpp b/Ext2Srv/Mount.cpp index 682d560..dff0aa7 100644 --- a/Ext2Srv/Mount.cpp +++ b/Ext2Srv/Mount.cpp @@ -178,7 +178,7 @@ int Ext2StartUserTask(TCHAR *task, DWORD sid, HANDLE token) } /* wait until process exits or timeouts */ - rc = WaitForSingleObject(pi.hProcess, 30000); + rc = WaitForSingleObject(pi.hProcess, 5000); if (rc == WAIT_TIMEOUT) { TerminateProcess(pi.hProcess, -1); ErrLog("Ext2DoAssdNotify: %S timeout, to be terminated.\n", task); |