Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -144,7 +144,7 @@ console.log(Current_Weather); | ... | @@ -144,7 +144,7 @@ console.log(Current_Weather); |
144 | 144 | ||
145 | const Start_Interval = (second, CALL) => { | 145 | const Start_Interval = (second, CALL) => { |
146 | CALL(); //처음 불러올때 한번 호출하고 | 146 | CALL(); //처음 불러올때 한번 호출하고 |
147 | - call_interval = setInterval(CALL, second * 1000); //그 후에 1분마다 호출 | 147 | + call_interval = setInterval(CALL, second * 500); //그 후에 30초마다 호출 |
148 | } | 148 | } |
149 | 149 | ||
150 | io.on('connection', (socket) => { //프론트와 소켓 연결시 이벤트 루프 동작 | 150 | io.on('connection', (socket) => { //프론트와 소켓 연결시 이벤트 루프 동작 | ... | ... |
-
Please register or login to post a comment