refactor: http retry for retryable errors (#20)

This commit is contained in:
l3uddz
2021-02-21 14:01:21 +00:00
committed by GitHub
parent a2848439b9
commit db9fdc97a2
21 changed files with 150 additions and 115 deletions

2
cache/cache.go vendored
View File

@@ -25,7 +25,7 @@ func New(path string) (*Client, error) {
return nil, fmt.Errorf("open: %w", err)
}
log := logger.New("trace").With().Logger()
log := logger.New("").With().Logger()
// start cleaner
st, tail := state.WithShutdown()