Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김가영
/
Probability Death
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Ubuntu
2019-05-26 07:23:55 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6147a948f3a55b9b7faa1f9b7ec46f37b99ad2b5
6147a948
1 parent
0dedc6e1
set update time 1 minute to 30 seconds
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/socketio.js
lib/socketio.js
View file @
6147a94
...
...
@@ -144,7 +144,7 @@ console.log(Current_Weather);
const
Start_Interval
=
(
second
,
CALL
)
=>
{
CALL
();
//처음 불러올때 한번 호출하고
call_interval
=
setInterval
(
CALL
,
second
*
1000
);
//그 후에 1분
마다 호출
call_interval
=
setInterval
(
CALL
,
second
*
500
);
//그 후에 30초
마다 호출
}
io
.
on
(
'connection'
,
(
socket
)
=>
{
//프론트와 소켓 연결시 이벤트 루프 동작
...
...
Please
register
or
login
to post a comment