We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 263e030 commit dbf58d6Copy full SHA for dbf58d6
Server.py
@@ -76,19 +76,18 @@ def on_create_room(data):
76
}
77
print(session)
78
79
+ # Spring 로직 추가 => 방 생성
80
+ create_room_request(data, request.sid)
81
+ print("방 생성됨!!!!!!!!!!!!!!!!!")
82
+
83
+ emit("join-request")
84
85
# elk
86
room_id = data["room_id"]
87
date = datetime.datetime.now()
88
now = date.strftime('%m/%d/%y %H:%M:%S')
89
doc_create = {"des": "create room", "room_id": room_id, "@timestamp": utc_time()}
90
es.index(index=index_name, doc_type="log", body=doc_create)
-
- # Spring 로직 추가 => 방 생성
- create_room_request(data, request.sid)
- print("방 생성됨!!!!!!!!!!!!!!!!!")
- emit("join-request")
91
92
93
@socketio.on("join-room")
94
def on_join_room(data):
0 commit comments