费率下发定时任务间隔缩短至10秒
This commit is contained in:
parent
b4c93197f2
commit
6a9a4f781d
@ -20,7 +20,7 @@ import static com.xhpc.pp.server.ChargingPileServer.getHandler;
|
|||||||
@Component
|
@Component
|
||||||
public class RateModelTask {
|
public class RateModelTask {
|
||||||
|
|
||||||
@Scheduled(fixedRate = 60000)
|
@Scheduled(fixedRate = 10000)
|
||||||
protected void run() {
|
protected void run() {
|
||||||
|
|
||||||
Collection<String> stationKeys = REDIS.keys("station:*");
|
Collection<String> stationKeys = REDIS.keys("station:*");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user