<    March 2017    >
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
26 27 28 29 30 31
00:06 brybeecher joined
00:09 haennar joined
00:55 aidalgol joined
04:46 claw joined
05:09 cyclotron3k joined
05:10 <cyclotron3k> Is it ok to start a transaction, then use multiple threads to do inserts?
05:11 <cyclotron3k> I assume if one insert fails in one thread, then any subsequent insert in any other thread will also fail?
05:11 <cyclotron3k> (Using PostgreSQL)
05:24 <cyclotron3k> Hmm. Testing indicates that any threads started after a transaction ignore the transaction
06:44 haennar joined
07:30 haennar joined
07:46 ta_ joined
09:43 haennar joined
12:29 haennar joined
13:56 <Lyfe> cyclotron3k: I would imagine that a new thread would get a new connection out of the connection pool.
14:50 brybeecher joined
14:58 banditron joined
15:02 glennpratt joined
15:44 brybeecher joined
15:55 A124 joined
15:55 A124 joined
16:23 mwlang joined
17:10 GitHub176 joined
17:10 <GitHub176> [13sequel] 15Aryk commented on issue #549: On the ActiveSupport v5, they provide a way to bypass ActiveSupport#to_json and use the normal to_json via ::JSON.{generate,dump}(obj). From the documentation for AS > version 5:... 02https://github.com/jeremyevans/sequel/issues/549#issuecomment-283404146
17:10 GitHub176 left
17:10 GitHub195 joined
17:10 <GitHub195> [13sequel] 15Aryk commented on issue #549: On the ActiveSupport v5, they provide a way to bypass ActiveSupport#to_json and use the normal to_json via ::JSON.{generate,dump}(obj). From the documentation for AS > version 5:... 02https://git.io/vy3R5
17:10 GitHub195 left
18:49 GitHub110 joined
18:49 <GitHub110> [13sequel] 15jeremyevans pushed 1 new commit to 06master: 02https://git.io/vy3Xx
18:49 <GitHub110> 13sequel/06master 142b3a178 15Jeremy Evans: Bump version to 4.44.0
18:49 GitHub110 left
18:49 GitHub81 joined
18:49 <GitHub81> [13sequel] 15jeremyevans tagged 064.44.0 at 14cdb0759: 02https://git.io/vy3Xh
18:49 GitHub81 left
18:56 GitHub179 joined
18:56 <GitHub179> [13sequel] 15jeremyevans pushed 1 new commit to 06gh-pages: 02https://git.io/vy3ML
18:56 <GitHub179> 13sequel/06gh-pages 14262da76 15Jeremy Evans: Update website for 4.44.0 release
18:56 GitHub179 left
18:57 Topic for
20:05 GitHub112 joined
20:05 <GitHub112> [13sequel] 15jeremyevans commented on issue #549: That's a good point, but unfortunately I think changing Sequel's default behavior it would break compatibility who have overwritten `to_json` manually. However, we can probably make that change in Sequel 5. 02https://git.io/vy3Ar
20:05 GitHub112 left
20:52 glennpratt joined
20:55 Rennex joined
20:55 pdrakewe_ joined
21:05 haennar joined
21:16 joast joined
22:16 ta_ joined
22:18 ta_ joined
22:27 Renich joined
22:46 <cyclotron3k> Is there a simple way to run some code and the see how many database queries it caused? I guess I can check my database logs...
22:48 <Rennex> cyclotron3k: you could print them: DB.loggers << Logger.new($stdout)
22:49 <Rennex> or if you just want numbers, i'm sure it would be a 5-minute job to whip up a custom logger that counts :)
22:59 <cyclotron3k> Good idea
23:36 haennar joined