Returns the sequence number the cache is up-to-date with.
()
| 969 | |
| 970 | // Returns the sequence number the cache is up-to-date with. |
| 971 | func (c *changeCache) LastSequence() uint64 { |
| 972 | |
| 973 | lastSequence := c.getNextSequence() - 1 |
| 974 | return lastSequence |
| 975 | } |
| 976 | |
| 977 | func (c *changeCache) getOldestSkippedSequence(ctx context.Context) uint64 { |
| 978 | oldestSkippedSeq := c.skippedSeqs.getOldest() |
no test coverage detected