Highlights
- Added new command for forcing re-connection of websockets. The command for re-connection has three modes, namely:
cache-rpc force-reconnect init <delay sec> <interval sec>- will initiate re-connection, starting after delay seconds, and performing 1 re-connection every interval secondscache-rpc force-reconnect status- get status of reconnection, i.e. whether it's running, number of re-connection done/remainingcache-rpc force-reconnect abort- stop re-connection process, reports how many have been performed and how many remain
- Added 2 metrics to indicate re-connection progress:
forced_reconnections_remaining- number of re-connection to perform yet,forced_reconnections_finished- number of re-connections already performed - Made wide-filter based program accounts prefetching (#243) to be an optional feature, now by default cache-rpc will start with this feature disabled, while superset based request serving will still be enabled without an option to turn it off
- Added new command for turning on the feature for wide-filter based
getProgramAccountsrequests, which has 3 modes of operation:cache-rpc wide-filters on- turns the account prefetching for given program with wider filtercache-rpc wide-filters off- turns the above feature offcache-rpc wide-filters status- shows the current status of the feature
- Added new metric for counting the number of self initiated
getProgramAccountsrequests -self_initiated_gpa
What's Changed
- Implemented support for additional ws-reconnection command by @bobs4462 in #245
- Made wide filters based gpa requests optional by @bobs4462 in #246
Full Changelog: 0.2.11...0.2.12