chore: bump request limit
This commit is contained in:
parent
2830a483be
commit
0ed396b78d
|
@ -23,7 +23,7 @@ func main() {
|
|||
})
|
||||
|
||||
app.Use(limiter.New(limiter.Config{
|
||||
Max: 15,
|
||||
Max: 30,
|
||||
Expiration: 1 * time.Minute,
|
||||
LimitReached: limitHandler,
|
||||
}))
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
}
|
||||
},
|
||||
"api": {
|
||||
"limit": "We limit the request to be 15 request/minute.",
|
||||
"limit": "We limit the request to be 30 request/minute.",
|
||||
"get": {
|
||||
"title": "Get Jokes",
|
||||
"random": {
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
}
|
||||
},
|
||||
"api": {
|
||||
"limit": "Kami membatasi request menjadi 15 request/menit.",
|
||||
"limit": "Kami membatasi request menjadi 30 request/menit.",
|
||||
"get": {
|
||||
"title": "Dapatkan Jokes",
|
||||
"random": {
|
||||
|
|
Loading…
Reference in New Issue