Method: ZK::Server::Config#force_sync
- Defined in:
- lib/zk-server/config.rb
#force_sync ⇒ Object
This value can make testing go faster, as zookeeper doesn't have to issue an fsync() call for each snapshot write. It is however DANGEROUS if you care about the data. (I set it to false for running tests)
if true: 'yes', false: 'no', nil not specified in the config
default: no value set
120 121 122 |
# File 'lib/zk-server/config.rb', line 120 def force_sync @force_sync end |