write_mongodb plugin: Fix reconnection behavior.
authorFlorian Forster <octo@collectd.org>
Fri, 9 Mar 2012 15:58:15 +0000 (16:58 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 9 Mar 2012 15:58:15 +0000 (16:58 +0100)
The previous code would never detect a disconnect and act appropriately. In the
process, manual tracking of the connection state is removed in favor of
mongo_is_connected().


No differences found