Performance improvements in pg

This commit is contained in:
binwiederhier
2026-02-22 16:21:27 -05:00
parent 35a54407a8
commit 43280fbc0a
8 changed files with 78 additions and 104 deletions

View File

@@ -191,7 +191,7 @@ func (t SinceMarker) IsLatest() bool {
// IsID returns true if this marker references a specific message ID
func (t SinceMarker) IsID() bool {
return t.id != "" && t.id != "latest"
return t.id != "" && t.id != SinceLatestMessage.id
}
// Time returns the time component of the marker