author | Florian Forster <octo@collectd.org> | |
Fri, 9 Mar 2012 15:58:15 +0000 (16:58 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 9 Mar 2012 15:58:15 +0000 (16:58 +0100) | ||
commit | 2c4c6600fdc06ec2904459bb019b99e4932def28 | |
tree | f8ea8b07da57fda33161955a85f0634a4b16e9cf | tree | snapshot |
parent | 8c08b696bfab56a7040ac569ce1d1c7a0e126d14 | commit | diff |
write_mongodb plugin: Fix reconnection behavior.
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().
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().
src/write_mongodb.c | diff | blob | history |