-
-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat: Refactor initial population of chat history to use API #47
Comments
I was thinking maybe we should move it, but really I have no solid reasons why except "why flood the socket with old messages if we don't need to". But I'm not sure what I'm concerned about. Let's just keep it as it is unless there's a reason to change it. |
Was doing some load testing on the web socket and found that after a backlog of a certain size the websocket seems to stop passing stuff through. So I think using the |
Going to wait for #56 to go in so I don't step on the toes of any Javascript changes. |
[ImgBot] Optimize images
@graywolf336 Added a
/chat
endpoint, so I think it makes sense to use that to populate the chat history instead of funneling the entire history through the socket every time somebody connects.The text was updated successfully, but these errors were encountered: