You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added TTL-cache for the lease endpoint and metrics (#4)
* Fixed client to work properly
* Fixed client response status handling
* Added ttl-cache for the lease endpoint to lower storage requests count
* Added metrics
* Moved private function to the bottom
* Added timeout configuration to the server setup
* Moved initialization of cache out of goroutines
* Updated metrics labels with constants
* Added error handling
---------
Co-authored-by: Vladyslav Papidokha <vladyslav.papidokha@gmail.com>