-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
Remove "timestamp" field from message #147
Comments
@joshdvir hello, do you mean timestamp in |
@FZambia yes I meant the timestamp send in every broadcasted message, does Centrifugo server use it? From going over the code I didn't see the client using it, if removed it can save traffic. Don't you think that any application has it's own logic about when messages are created and they use that? why does the server needs to send when messages where created ? Thanks |
Actually this was added in Centrifuge (written in Python) after feature request in issue, so it was migrated into Go server version to preserve backwards compatibility. I've never used it myself so I'd be happy to remove it. If someone needs timestamp - it can be added into message payload. But this is a breaking change for those who rely on it somehow. So at least we should wait with this for a while to collect opinions against removing it, then deprecate it in release notes and then remove. I'll change title of this issue to be more precise and let's wait. |
👍 great, thanks a lot. |
Hi @FZambia , |
Hi @FZambia
Wanted to know why does the server needs to send a timestamp if it's in insecure mode?
Timestamp is needed in normal mode only from my understanding.
If removed it can save traffic 😄
Thanks
The text was updated successfully, but these errors were encountered: