commit | 880357812bdd4dff06bbdd9886cb546efcaaca9e | [log] [tgz] |
---|---|---|
author | iilyak <iilyak@users.noreply.github.com> | Thu Nov 29 05:42:55 2018 -0800 |
committer | Jan Lehnardt <jan@apache.org> | Thu Nov 29 14:42:55 2018 +0100 |
tree | 135f3d72c0db0e41c66ce78d994f5214bd526ab5 | |
parent | 369bec2b7db54d6781f4994543f92aa9bf24d28d [diff] |
Cache query servers in ets table (#1778) The configuration of query servers is done via environment variables. Calling os:getenv every time we need a new query process is expensive. Instead we extact all configured query servers from the environemt on `couch_proc_manager` startup and cache them in ets table. fixes #1772