Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
02:52 melezhik joined 03:00 melezhik left 03:01 melezhik joined 03:02 melezhik left 10:01 sena_kun left 10:02 sena_kun joined 10:57 Altai-man joined 13:15 xinming left 13:28 xinming joined 14:04 xinming left 14:11 xinming joined 14:37 rypervenche joined 14:55 Altai-man left 20:05 sena_kun left 20:06 sena_kun joined 21:30 melezhik joined
melezhik hi! 21:32
my cro app reuse db handler to mysql database across http requests, so I hit this error on and off - DBDish::mysql error - Unsupported Concurrency: Connection used by multiple threads simultaneously
any thought now can I handle / fix that on cro app side?
this is how I pass db handler to cro app - github.com/melezhik/sparky/blob/8a...b.raku#L28 21:33
21:38 melezhik left
jnthnwrthngtn .tell melezhik DB handles cannot be shared across threads; you could implement a thread pool but I personally always use DB::Pg instead because it has one built in. 22:55