Closed Zemke closed 4 years ago
New messages for the chat are retrieved using the timestamp of the latest message and then doing a greater than. This is only precise to the second meaning the same message can be regardes as new when its milliseconds are greater.
This had only been an issue when I added a message manually using Postgres’s now() whose scale was more precise than what Hibernate would’ve written.
now()
New messages for the chat are retrieved using the timestamp of the latest message and then doing a greater than. This is only precise to the second meaning the same message can be regardes as new when its milliseconds are greater.