summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginprocesschild.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-08-18 17:52:00 -0400
committerLogan Dethrow <log@lindenlab.com>2011-08-18 17:52:00 -0400
commitce0b04889d3d02d1d1eabe84a566a641db1e2d8e (patch)
treef9501fe5624d4a0a40ce6e87fe2fb87ae2d4f476 /indra/llplugin/llpluginprocesschild.cpp
parent4fb809eed5fbed458b5be883fba7196a5712aa48 (diff)
parentb2ef0f99882db73680cc5dfb9570255414f7ba6d (diff)
Merge.
Diffstat (limited to 'indra/llplugin/llpluginprocesschild.cpp')
-rw-r--r--indra/llplugin/llpluginprocesschild.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llplugin/llpluginprocesschild.cpp b/indra/llplugin/llpluginprocesschild.cpp
index 0beb46d0e5..f8a282184e 100644
--- a/indra/llplugin/llpluginprocesschild.cpp
+++ b/indra/llplugin/llpluginprocesschild.cpp
@@ -410,7 +410,7 @@ void LLPluginProcessChild::receiveMessageRaw(const std::string &message)
}
else if(message_name == "sleep_time")
{
- mSleepTime = parsed.getValueReal("time");
+ mSleepTime = llmax(parsed.getValueReal("time"), 1.0 / 100.0); // clamp to maximum of 100Hz
}
else if(message_name == "crash")
{