2012-02-07 Ramon Novoa <rnovoa@artica.es>

* pandora_windows_service.cc: Convert tentacle_timeout to milliseconds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2012-02-07 16:58:06 +00:00
parent 928f8c4bf9
commit 85fb03b2d2
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-02-07 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Convert tentacle_timeout to milliseconds.
2012-02-02 Ramon Novoa <rnovoa@artica.es>
* installer/pandora.mpi: Added an uninstall action to delete

View File

@ -493,6 +493,9 @@ Pandora_Windows_Service::copyTentacleDataFile (string host,
tentacle_timeout = atoi (conf->getValue ("tentacle_timeout").c_str ());
if (tentacle_timeout <= 0) {
tentacle_timeout = INFINITE;
} else {
/* Convert to milliseconds */
tentacle_timeout *= 1000;
}
if (WaitForSingleObject(pi.hProcess, tentacle_timeout) == WAIT_TIMEOUT) {