Join Slack
Powered by
first javalin release of the decade: <https://java...
# feed
t
tipsy
01/01/2020, 3:34 PM
first javalin release of the decade:
https://javalin.io/news/2020/01/01/javalin-3.7.0-released.html
👍🏼 5
s
suresh
01/01/2020, 7:03 PM
Thanks update.
https://github.com/tipsy/javalin/blob/master/src/main/java/io/javalin/http/util/RateLimitUtil.kt#L22
- Just curious, isnt it better to use a single ScheduledThreadPoolExecutor to scheule all taks instead of creating new executor for each RateLimiter? With the current approach if we have 10 handlers using RateLimiter, there would be 10 thread running all the time.
t
tipsy
01/01/2020, 7:47 PM
There should only be one per interval
tipsy
01/01/2020, 7:47 PM
Not one per handler
2
Views
Open in Slack
Previous
Next