dmerkushov / nanoservices

Apache License 2.0
3 stars 0 forks source link

BUG: ZooKeeper timeout is hard-coded #23

Open dmerkushov opened 4 years ago

dmerkushov commented 4 years ago

Describe the bug A clearly configurable constant is not configurable.

ZooConfig.cpp:

    // TODO: move to constant
    int timeoutms = 3000;

Expected behavior Must be addressed through configuration parameters. As soon as this ZooKeeper timeout refers to configuration retrieval, some super-configuration must exist (through command-line args, for example).