|
@@ -11,7 +11,7 @@ import java.io.IOException;
|
|
@Component
|
|
@Component
|
|
public class WebSokcetTask {
|
|
public class WebSokcetTask {
|
|
|
|
|
|
- @Value("${task.switch}")
|
|
|
|
|
|
+ @Value("${websocket.switch}")
|
|
private Boolean taskSwitch;
|
|
private Boolean taskSwitch;
|
|
|
|
|
|
@Scheduled(cron = "0/3 * * * * ? ")
|
|
@Scheduled(cron = "0/3 * * * * ? ")
|