cinchrb / cinch

The IRC Bot Building Framework
http://www.rubydoc.info/gems/cinch
MIT License
1k stars 180 forks source link

Using ActiveRecord results in unresponsive commands #23

Closed txdv closed 14 years ago

txdv commented 14 years ago

http://pastebin.com/ADyt7Kic this is the script. http://pastebin.com/cPK4Gv7i this is the behavior. Flooding the bot with commands results in total unresponsiveness of the actually command, when it uses ActiveRecord objects. I tried it with the google example, but failed to reproduce this particular bug(?).

dominikh commented 14 years ago

This is not a Cinch-related issue.

txdv commented 14 years ago

Yes it isn't, but maybe for a future record if one tries to use ActiveRecord with cinch:

ActiveRecord::Base.establish_connection( .... :pool => 20 )

Will solve avoid this deadlock happening.