search for: managed_threads

Displaying 1 result from an estimated 1 matches for "managed_threads".

2006 Jun 15
12
Multithreading and DB access in Rails
...onnection to MySQL and throwing exceptions like this: #<ActiveRecord::StatementInvalid: c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'': Mysql::Error: Lost connection to MySQL server during query: SELECT * FROM managed_threads WHERE (managed_threads.`name` = ''test1'' ) LIMIT 1> This is on a WEBrick setup, if that makes any difference. Obvious questions: - Why the lost connection? Is there some simple way to make it stop happening? - What''s the recommended way of managing background tas...