Authored by xuhui

捕获恶意ip相关的指标存储在zk中

... ... @@ -9,6 +9,6 @@
<property name="host" value="smtp.exmail.qq.com" />
<property name="defaultEncoding" value="utf-8" />
<property name="username" value="automan@yoho.cn" />
<property name="password" value="8ae83e639d6b65f7" />
<property name="password" value="8AE83e639d6b65f7" />
</bean>
</beans>
\ No newline at end of file
... ...
... ... @@ -48,28 +48,10 @@ public class MaliciousIpJob {
*/
private static final String TIME_DIMENSION_SECONDS_KEY = "2";
/**
* 比例
*/
private final static int PERCENT_MAX = 100;
/**
* 次数
*/
private final static int COUNT_MAX = 30;
/**
* udid
*/
private final static int UDID_COUNT_MAX = 30;
@Autowired
public AlarmMsgService alarmMsgService;
@Autowired
private SnsMobileConfig snsMobileConfig;
@Autowired
@Qualifier("core-config-reader")
private ConfigReader configReader;
... ...