|
@@ -14,7 +14,7 @@ public class WebSokcetTask {
|
|
@Value("${websocket.switch}")
|
|
@Value("${websocket.switch}")
|
|
private Boolean taskSwitch;
|
|
private Boolean taskSwitch;
|
|
|
|
|
|
- @Scheduled(cron = "0/3 * * * * ? ")
|
|
|
|
|
|
+ @Scheduled(cron = "0/10 * * * * ? ")
|
|
public void liveDividedTask() throws IOException {
|
|
public void liveDividedTask() throws IOException {
|
|
if(!taskSwitch){
|
|
if(!taskSwitch){
|
|
return;
|
|
return;
|