Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 380 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 380 Bytes

CallLimiter

This a call limit tool for Spring Boot.

How to use

In Application class:

import io.github.u10.utils.calllimiter.annotation.EnableCallLimiter;

@SpringBootApplication
@EnableCallLimiter

On method:

import io.github.u10.utils.calllimiter.annotation.CallLimit;

@CallLimit(debounce = 500, throttle = 5000)
public void test () {
  ...
}