We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c1cfd commit 1fcf993Copy full SHA for 1fcf993
cmd/server/main.go
@@ -8,7 +8,6 @@ import (
8
"net/http"
9
"os"
10
"os/signal"
11
- "time"
12
13
"github.com/gin-gonic/gin"
14
"github.com/olexsmir/onasty/internal/config"
@@ -91,13 +90,10 @@ func run(ctx context.Context) error {
91
90
Burst: cfg.RateLimiterBurst,
92
}
93
94
- rateLimiterConfigForEmailSending := ratelimit.Config{RPS: 1, TTL: time.Minute, Burst: 1}
95
-
96
handler := httptransport.NewTransport(
97
usersrv,
98
notesrv,
99
rateLimiterConfig,
100
- rateLimiterConfigForEmailSending,
101
)
102
103
// http server
0 commit comments