fix retries->wait times
This commit is contained in:
16
LLMMapper/llmMapper_test.go
Normal file
16
LLMMapper/llmMapper_test.go
Normal file
@ -0,0 +1,16 @@
|
||||
package LLMMapper
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test_retryMath(t *testing.T) {
|
||||
retries := 5
|
||||
for retries > 0 {
|
||||
seconds := (1 / float64(retries)) * 60
|
||||
fmt.Println(seconds, retries)
|
||||
retries = retries - 1
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user