forked from
tangled.org/core
Monorepo for Tangled — https://tangled.org
Go
78.2%
HTML
17.7%
Nix
2.7%
CSS
1.1%
JavaScript
0.3%
Other
0.1%
code
Clone this repository
https://tangled.org/julien.rbrt.fr/tangled-core
git@knot.srv.rbrt.fr:julien.rbrt.fr/tangled-core
For self-hosted knots, clone URLs may differ based on your setup.
Reconnection is now handed by cancelling the connCtx context. This is a
lot cleaner and the jetstream client package honors context
cancellation.
Saving of last time_us is also simplified now. We only save (update,
rather) after the last seen event by incrementing the event's time_us by
1 (this is ok since it's a monotonic clock). We pick up from here upon
reconnect and don't save last time_us for any other reason.
Lastly, outside of first boot, we should only ever use UpdateLastTimeUs.