Changed the default value of UpdateRate for the Ping Plugin to be 32 (32 seconds if Update is the default 1000) so that when used with the default Timeout= value for the plugin, which is 30000ms (30 seconds), a skin which is still waiting for "Timeout" to occur on a bad / inactive DestAdress does not cause Rainmeter to craah by again running the plugin before it has a chance to time out. This is not a perfect solution, but will at least protect those who just use all defaults with Ping Plugin from having constant mysterious crashes if they ping an address that does not respond.

This commit is contained in:
jsmorley 2010-05-27 21:46:13 +00:00
parent 3646188ad3
commit 3640c60810

View File

@ -168,7 +168,7 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
valid = true;
}
data = ReadConfigString(section, L"UpdateRate", L"1");
data = ReadConfigString(section, L"UpdateRate", L"32");
if (data)
{
pData->updateRate = _wtoi(data);