tarantool / metrics

Metric collection library for Tarantool
MIT License
39 stars 23 forks source link

optimize utils.box_is_configured #375

Closed olegrok closed 2 years ago

olegrok commented 2 years ago

There is no reason to check box.cfg type for each call. Once box was configured it will return true. So let's just replace module function with dummy implementation that will return always true after it returned true once.