limiter icon indicating copy to clipboard operation
limiter copied to clipboard

主要用于开放平台的接口限流框架

Results 3 limiter issues
Sort by recently updated
recently updated
newest added

Bumps [fastjson](https://github.com/alibaba/fastjson) from 1.2.7 to 1.2.83. Release notes Sourced from fastjson's releases. FASTJSON 1.2.83版本发布(安全修复) 这是一个安全修复版本,修复最近收到在特定场景下可以绕过autoType关闭限制的漏洞,建议fastjson用户尽快采取安全措施保障系统安全。 安全修复方案 :https://github.com/alibaba/fastjson/wiki/security_update_20220523 Issues 安全加固 修复JDK17下setAccessible报错的问题 #4077 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.83/ 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98 源码 https://github.com/alibaba/fastjson/tree/1.2.83 fastjson 1.2.79版本发布,BUG修复 这又是一个bug...

dependencies

Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...

dependencies

你好,看了你关于接口限流的代码,学到了很多东西。 LocalLockServiceImpl类中使用synchronized (this)对代码块加上了实例锁,在跑APP.java的main方法时,偶尔会出现并发问题,程序会抛出java.lang.IllegalMonitorStateException异常。感觉需要改成synchronized #(LocalLockServiceImpl.class),将同步的代码块变成一个类锁。 private ReentrantLock initAndGetLock(String source) { ReentrantLock reentrantLock = lockMap.get(source); if (null == reentrantLock) { **synchronized (this)** { reentrantLock = lockMap.get(source); if (null == reentrantLock) { reentrantLock...