Reduce DefaultSleep value

This commit is contained in:
M. Mert Yildiran
2023-02-16 00:49:45 +03:00
parent f0b68cb44b
commit b9a7cfb4fa

View File

@@ -24,7 +24,7 @@ type Connector struct {
const DefaultRetries = 3
const DefaultTimeout = 2 * time.Second
const DefaultSleep = 100 * time.Millisecond
const DefaultSleep = 10 * time.Millisecond
func NewConnector(url string, retries int, timeout time.Duration) *Connector {
return &Connector{