Skip to content

Commit

Permalink
Extend the proxy injection timeout to 15 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
LostDragonist committed Dec 12, 2018
1 parent 40e79a2 commit 5c109dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usvfs_helper/inject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ void usvfs::injectProcess(const std::wstring &applicationPath
+ ush::string_cast<std::string>(exePath.wstring()))
<< ex_win_errcode(result.errorCode));
} else {
// wait for proxy completion. this shouldn't take long, 5 seconds is very generous
switch (WaitForSingleObject(result.processInfo.hProcess, 5000)) {
// wait for proxy completion. this shouldn't take long, 15 seconds is very generous
switch (WaitForSingleObject(result.processInfo.hProcess, 15000)) {
case WAIT_TIMEOUT: {
spdlog::get("usvfs")->debug("proxy timeout");
TerminateProcess(result.processInfo.hProcess, 1);
Expand Down

0 comments on commit 5c109dd

Please sign in to comment.