orbitdb / example-orbitdb-todomvc

TodoMVC with OrbitDB
MIT License
22 stars 16 forks source link

Disable preload in ipfs config #16

Closed Loosetooth closed 3 years ago

Loosetooth commented 3 years ago

This pull request disables the preload setting in the ipfs config. Without this change, large amounts of data get sent to the ipfs preload nodes.

I tested this on my local PC with a clean database. With preload enabled there are data transfers for every change in the database: (exponentially increasing in size) image

These transfers completely disappear when preload: { enabled: false } is added to the ipfs config.

aphelionz commented 3 years ago

Thank you!