Authored by DengXinFei

发送站内信改成5分钟发一次

... ... @@ -24,7 +24,7 @@ public class LuckyUserNoticeThread {
public LuckyUserNoticeThread(){
//(1)定时任务执行时间间隔,单位为分
DynamicLongProperty initialDelay = DynamicPropertyFactory.getInstance().getLongProperty("drawline.luckyUserNotice.interval", 120);
DynamicLongProperty initialDelay = DynamicPropertyFactory.getInstance().getLongProperty("drawline.luckyUserNotice.interval", 5);
//(2)服务启动10后开始执行, 默认每隔2小时执行一次
Const.LUCKYUSERNOTICE_EXE.scheduleAtFixedRate(new Runnable() {
... ...
... ... @@ -8,7 +8,6 @@
<property name="jdbc.mysql.readonlyinslave" defaultValue="true" description="读操作是否只在从库" />
<property name="drawline.luckydraw.interval" defaultValue="1440" description="执行定时抽奖任务间隔" />
<property name="drawline.luckyUserNotice.interval" defaultValue="120" description="执行抽奖结果通知任务间隔" />
<property name="is_debug_enable" defaultValue="false" description="开通接口访问校验" />
</group>
<script>
... ...