ca9e74cdae2b0ab8f38d4116479e90bb46691cbd,lib/streamlit/ReportQueue.py,,send_message,#Any#Any#,152
Before Change
Sends msg via the websocket
msg_str = msg.SerializeToString()
if len(msg_str) > MESSAGE_SIZE_LIMIT:
send_exception(ws, msg, "RuntimeError", "Data too large")
return
try:
ws.write_message(msg_str, binary=True)
except Exception as e:
send_exception(ws, msg, type(e), e.message)
After Change
// send_exception(ws, msg, "RuntimeError", "Data too large")
// return
ws.write_message(msg_str, binary=True)
// try:
// ws.write_message(msg_str, binary=True)
// except Exception as e:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: streamlit/streamlit
Commit Name: ca9e74cdae2b0ab8f38d4116479e90bb46691cbd
Time: 2018-11-23
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/ReportQueue.py
Class Name:
Method Name: send_message
Project Name: streamlit/streamlit
Commit Name: 7f7486c5603f37ae711b727dd5214a5c09e8cd84
Time: 2018-11-23
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/ReportQueue.py
Class Name:
Method Name: send_message
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 7a8734425b88b6dea3081161caff1863a85895db
Time: 2018-10-17
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAWeb/tradehandles.py
Class Name: AccModelHandler
Method Name: on_message