计算量增加调试机制
This commit is contained in:
parent
7e4ee1323f
commit
43e3bff7c8
@ -18,7 +18,7 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class FunctionCacheValue extends AbstractFunction {
|
public class FunctionCacheValue extends AbstractFunction {
|
||||||
public static final String CACHE_PREFIX = "calc::cache::";
|
public static final String CACHE_PREFIX = "calc:cache:";
|
||||||
private AdminRedisTemplate redis = null;
|
private AdminRedisTemplate redis = null;
|
||||||
public FunctionCacheValue(AdminRedisTemplate redis) {
|
public FunctionCacheValue(AdminRedisTemplate redis) {
|
||||||
this.redis = redis;
|
this.redis = redis;
|
||||||
|
@ -55,7 +55,7 @@ public class CalcService {
|
|||||||
@Value("${calc.debug.enable}")
|
@Value("${calc.debug.enable}")
|
||||||
Boolean isDebug;
|
Boolean isDebug;
|
||||||
|
|
||||||
@Value("${calc.debug.task-name")
|
@Value("${calc.debug.task-name}")
|
||||||
String debugTaskName;
|
String debugTaskName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user