Spaces:
Sleeping
Sleeping
Update main.go
Browse files
main.go
CHANGED
|
@@ -187,7 +187,7 @@ func handleChat(w http.ResponseWriter, r *http.Request) {
|
|
| 187 |
return
|
| 188 |
}
|
| 189 |
|
| 190 |
-
maxRetries :=
|
| 191 |
var tryRequest func() (string, error)
|
| 192 |
|
| 193 |
tryRequest = func() (string, error) {
|
|
|
|
| 187 |
return
|
| 188 |
}
|
| 189 |
|
| 190 |
+
maxRetries := 3
|
| 191 |
var tryRequest func() (string, error)
|
| 192 |
|
| 193 |
tryRequest = func() (string, error) {
|