summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginprocesschild.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-08-15 16:22:03 -0400
committerOz Linden <oz@lindenlab.com>2011-08-15 16:22:03 -0400
commitb8320207bb911a311a498426fdd4a987dd7748ea (patch)
tree37c5c4795916fd9787014e9e39727e39727f3482 /indra/llplugin/llpluginprocesschild.cpp
parent45036820f85844093f3a2031cff10c6633926da4 (diff)
parent25f1653ca0a25c73b3c0649ee5bb7c65e5378eac (diff)
merge changes for storm-1557
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")
{