How Change Block Size


(Enrico Abello) #1

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!


(Jakob Borg) #2

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.


(Enrico Abello) #3

ok, only to know, where i find this file protocol.go? and how i rebuild? Thanks


(Jakob Borg) #4

Here:

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.


(system) #5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.