summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmitry kim <jason@nichego.net>2008-06-30 17:45:00 +0400
committerdmitry kim <jason@nichego.net>2008-06-30 17:47:31 +0400
commitb49235a9ba130539f7cc777b541395474a058c1a (patch)
treefb40cb5b0f3f46ce21c290bdbaae11927e73e7a9
parent0d715cdc29abec6031d3e69968247fb9f973c66d (diff)
+ markov: sleep() some in the learning thread
-rw-r--r--data/rbot/plugins/markov.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/markov.rb b/data/rbot/plugins/markov.rb
index de8a94c2..8abf0e58 100644
--- a/data/rbot/plugins/markov.rb
+++ b/data/rbot/plugins/markov.rb
@@ -36,6 +36,7 @@ class MarkovPlugin < Plugin
@learning_thread = Thread.new do
while s = @learning_queue.pop
learn s
+ sleep 0.5
end
end
end