dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
Edelwin is now known as EdelwinK
EdelwinK is now known as Edelwin
postmodern has joined #cinch
Azure_ is now known as Azure
CM-Punk has quit [Ping timeout: 240 seconds]
CM-Punk has joined #cinch
FIQ has quit [Excess Flood]
Guest10788 has joined #cinch
CM-Punk has quit [Ping timeout: 240 seconds]
CM-Punk has joined #cinch
postmodern has quit [Quit: Leaving]
Azure has quit [Ping timeout: 240 seconds]
Zackio has quit [Ping timeout: 272 seconds]
Zackio has joined #cinch
thews has quit [Read error: No route to host]
thews has joined #cinch
thews has quit [Changing host]
thews has joined #cinch
thews has quit [Remote host closed the connection]
thews has joined #cinch
thews has joined #cinch
thews has quit [Changing host]
thews has quit [Ping timeout: 240 seconds]
thews has joined #cinch
rikai_ has joined #cinch
rikai has quit [*.net *.split]
zer0python has joined #cinch
<zer0python>
anyone used Cinch with ActiveRecord and experience, what appears to be ActiveRecord closing it's connection
<zer0python>
I think it may be a Thread related issue
<zer0python>
but not sure
Azure has joined #cinch
<dominikh>
zer0python: years ago, AR and Cinch was basically a no-go due to AR not behaving well in the context of threads. Paradox wanted to test if AR works better nowadays, so maybe try and talk to him
<zer0python>
mmhmm
<zer0python>
so
<zer0python>
dominikh: does cinch have a thing for hooking into when a thread ends?
<zer0python>
dominikh: if so, ActiveRecord::Base.connection_pool.release_connection
<zer0python>
would fix it
<zer0python>
atm I have that in my cinch bot method
<zer0python>
but that's more of a hack anyway
<zer0python>
I should put it where the thread ends
<zer0python>
but I don't know if cinch has a hook for that
<zer0python>
if not, should add one for plugins
<zer0python>
then just create a cinch pluing cinch-ar that adds the above
<zer0python>
dominikh: still here?
<dominikh>
zer0python: I was afk.
<dominikh>
and no, there is no hook for that
<dominikh>
if you're bored you can peek into the source and see if it's feasible, and also design a sensible API for it :)