From b49235a9ba130539f7cc777b541395474a058c1a Mon Sep 17 00:00:00 2001 From: dmitry kim Date: Mon, 30 Jun 2008 17:45:00 +0400 Subject: + markov: sleep() some in the learning thread --- data/rbot/plugins/markov.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'data/rbot') 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 -- cgit v1.2.3