mirror of
https://github.com/dromara/tianai-captcha.git
synced 2026-05-25 03:42:42 +08:00
1. 更改版本号为1.0.1-beta
2. 优化缓冲池,缓冲池延迟启动
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>cloud.tianai.captcha</groupId>
|
<groupId>cloud.tianai.captcha</groupId>
|
||||||
<artifactId>tianai-captcha</artifactId>
|
<artifactId>tianai-captcha</artifactId>
|
||||||
<version>1.0.1-alpha</version>
|
<version>1.0.1-beta</version>
|
||||||
|
|
||||||
<name>tianai-captcha</name>
|
<name>tianai-captcha</name>
|
||||||
<description>滑块验证码</description>
|
<description>滑块验证码</description>
|
||||||
|
|||||||
@@ -28,6 +28,13 @@ public class CacheSliderCaptchaTemplate implements SliderCaptchaTemplate {
|
|||||||
|
|
||||||
public CacheSliderCaptchaTemplate(SliderCaptchaTemplate target, int size) {
|
public CacheSliderCaptchaTemplate(SliderCaptchaTemplate target, int size) {
|
||||||
this.target = target;
|
this.target = target;
|
||||||
|
this.size = size;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 记的初始化调度器
|
||||||
|
*/
|
||||||
|
public void initSchedule() {
|
||||||
init(size);
|
init(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user