I am trying to deal with a thinly documented new Ruby rewritable driver for Mongodb 2.0.
I want to work interactively, but the "heartbeat" monitor, which works every 10 seconds, seems to ignore my attempts to set it up for a longer period:
irb(main):004:0> client = Mongo::Client.new([ '127.0.0.1:27017' ], :database => 'dbname', :heartbeat_frequency => 600)
But exactly ten seconds later the flood begins:
D, [2015-04-26T05:22:20.553320
=> #<Mongo::Client:0x10048740 cluster=127.0.0.1:27017>
irb(main):005:0> D, [2015-04-26T05:22:30.555284
Is there any way to stop this; it destroys the screen and makes interaction with the backend impossible.
source
share