You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've had to use some pretty craptastic chat apps, thought is that upon submission, the comment is pushed via web socket and appended to the end of the comment list.
This is preferable over polling every X seconds as:
Target platform is Heroku, polling for updates when there aren't any can tie up dyno time
Conditional gets would bypass that problem, but have been problematic in this app due other document.ready things like timeago being ignored when this is the behavior. This could be overcome by the use of polling with conditional gets to a JSON representation of the comments and other ways.
The text was updated successfully, but these errors were encountered:
So I've had to use some pretty craptastic chat apps, thought is that upon submission, the comment is pushed via web socket and appended to the end of the comment list.
This is preferable over polling every X seconds as:
The text was updated successfully, but these errors were encountered: