Adds a sqlite-backed SqlDatabase which we use to persist clocks via a ClockStore. We must send clocks to peers when they request a document. We persist them in this PR so we can avoid instantiating documents (and opening all of the feeds participating in those documents) when we replicate documents to peers.
Adds a sqlite-backed SqlDatabase which we use to persist clocks via a
ClockStore
. We must send clocks to peers when they request a document. We persist them in this PR so we can avoid instantiating documents (and opening all of the feeds participating in those documents) when we replicate documents to peers.