diff options
author | dmitry kim <jason@nichego.net> | 2008-06-30 17:45:00 +0400 |
---|---|---|
committer | dmitry kim <jason@nichego.net> | 2008-06-30 17:47:31 +0400 |
commit | b49235a9ba130539f7cc777b541395474a058c1a (patch) | |
tree | fb40cb5b0f3f46ce21c290bdbaae11927e73e7a9 /data/rbot | |
parent | 0d715cdc29abec6031d3e69968247fb9f973c66d (diff) |
+ markov: sleep() some in the learning thread
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/markov.rb | 1 |
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 |