projects
/
brackets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2400eea
)
Automatically retry requests
author
Jacob Casper
<dev@jacobcasper.com>
Thu, 16 Apr 2020 04:50:49 +0000
(23:50 -0500)
committer
Jacob Casper
<dev@jacobcasper.com>
Thu, 16 Apr 2020 04:50:49 +0000
(23:50 -0500)
client/client.go
patch
|
blob
|
blame
|
history
diff --git
a/client/client.go
b/client/client.go
index
f3c4a7c
..
394ee5f
100644
(file)
--- a/
client/client.go
+++ b/
client/client.go
@@
-21,5
+21,6
@@
func Get() (*spotify.Client, error) {
}
client := spotify.Authenticator{}.NewClient(token)
+ client.AutoRetry = true
return &client, nil
}