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{
|
app.Use(limiter.New(limiter.Config{
|
||||||
Max: 15,
|
Max: 30,
|
||||||
Expiration: 1 * time.Minute,
|
Expiration: 1 * time.Minute,
|
||||||
LimitReached: limitHandler,
|
LimitReached: limitHandler,
|
||||||
}))
|
}))
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"api": {
|
"api": {
|
||||||
"limit": "We limit the request to be 15 request/minute.",
|
"limit": "We limit the request to be 30 request/minute.",
|
||||||
"get": {
|
"get": {
|
||||||
"title": "Get Jokes",
|
"title": "Get Jokes",
|
||||||
"random": {
|
"random": {
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"api": {
|
"api": {
|
||||||
"limit": "Kami membatasi request menjadi 15 request/menit.",
|
"limit": "Kami membatasi request menjadi 30 request/menit.",
|
||||||
"get": {
|
"get": {
|
||||||
"title": "Dapatkan Jokes",
|
"title": "Dapatkan Jokes",
|
||||||
"random": {
|
"random": {
|
||||||
|
|
Loading…
Reference in New Issue