Permissionless-Software-Foundation / ipfs-p2wdb-service

Pay-to-write Database Service using REST API over HTTP and JSON RPC over IPFS
MIT License
3 stars 4 forks source link

Sync Manager #127

Closed christroutner closed 9 months ago

christroutner commented 9 months ago

This PR adds a 'sync manager' to the Timer Controllers library. It goads the OrbitDB into syncing with other peers if a period of time (10 minutes) goes by without a sync event occurring. This fixes an issue that was regularly seen in the wild, where new nodes would simply stop syncing.

libp2p has been reverted to v0.46.21. v1 has issues with persisting the nodes IPFS ID to disk.

christroutner commented 9 months ago

:tada: This PR is included in version 5.2.0 :tada:

Your semantic-release bot :package::rocket: