first javalin release of the decade: <https://java...
# feed
t
👍🏼 5
s
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
There should only be one per interval
Not one per handler