mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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:
parent
8589da3b27
commit
bf54328305
@ -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>
|
2012-02-02 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* installer/pandora.mpi: Added an uninstall action to delete
|
* installer/pandora.mpi: Added an uninstall action to delete
|
||||||
|
@ -493,6 +493,9 @@ Pandora_Windows_Service::copyTentacleDataFile (string host,
|
|||||||
tentacle_timeout = atoi (conf->getValue ("tentacle_timeout").c_str ());
|
tentacle_timeout = atoi (conf->getValue ("tentacle_timeout").c_str ());
|
||||||
if (tentacle_timeout <= 0) {
|
if (tentacle_timeout <= 0) {
|
||||||
tentacle_timeout = INFINITE;
|
tentacle_timeout = INFINITE;
|
||||||
|
} else {
|
||||||
|
/* Convert to milliseconds */
|
||||||
|
tentacle_timeout *= 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (WaitForSingleObject(pi.hProcess, tentacle_timeout) == WAIT_TIMEOUT) {
|
if (WaitForSingleObject(pi.hProcess, tentacle_timeout) == WAIT_TIMEOUT) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user