SyncthingLite and large blocks

Hi,

Can St lite handle large blocks? If not, I’d suggest we retire it temporarily until a new maintainer is ready to take the challenge. Recently I saw it has ca. 300 installations on gplay which is almost stalled.

What do the others think?

Kind regards Catfriend1

@l-jonas Are you still with us?

@Catfriend1 Not really.

The biggest block size is 16 MB (https://docs.syncthing.net/specs/bep-v1.html#selection-of-block-size) which should work (whole block must fit into the RAM).

Thank you @l-jonas :slight_smile: So I guess the app has other problems maintaining a reliable connection for some users atm. I need to use it more myself it’s really cool maybe one day I can also offer help there.

Well, there is a timeout of 60 seconds per block (https://github.com/syncthing/syncthing-lite/blob/master/syncthing-bep/src/main/kotlin/net/syncthing/java/bep/BlockPuller.kt). A bad connection with big blocks could cause problems due to that. Or the connection handling does not like that a big block blocks the connection too long when the connection is slow.

1 Like