aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMatt Joiner <anacrolix@gmail.com>2019-11-02 21:45:01 +1100
committerMatt Joiner <anacrolix@gmail.com>2019-11-02 21:45:01 +1100
commit9bf56d22767be20c465084f7a8fc2d68323d7eb8 (patch)
tree80ffb73b559e68bc8c9bac6537fd9ce80f4b76d8 /cmd
parentstmutil.ContextDoneVar: Return true Var if the context is already done (diff)
downloadstm-9bf56d22767be20c465084f7a8fc2d68323d7eb8.tar.gz
stm-9bf56d22767be20c465084f7a8fc2d68323d7eb8.tar.xz
Add stm friendly rate limiter
The tests are from golang.org/x/time/rate, and the limiter tries to have a similar API.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions