Hi, I read this document : https://github.com/syncthing/syncthing/wiki/Variable-Block-Size but I don’t understand how change it. I need to synch enormous file (2 TB) but 128kb block size are really few. Thanks!
That’s a non implemented proposal. The block size is currently fixed. You can change the constant in protocol.go and rebuild, but I wouldn’t necessarily recommend it.
ok, only to know, where i find this file protocol.go? and how i rebuild? Thanks
Here:
- https://github.com/syncthing/syncthing/blob/master/lib/protocol/protocol.go#L20
- https://docs.syncthing.net/dev/building.html
One of the reasons I would not recommend it is that Syncthing with a different blocksize is a fundamentally different software compared to standard Syncthing. It’s not protocol compatible, the database format is different, and we can’t support it.