Open ajs124 opened 2 years ago
+1
Do you see the 100 Errors as per https://github.com/flokli/nix-casync/issues/19 when trying to upload?
I don't think so, it just closes the connection, from what I remember. I've mainly observed this on download, not on upload.
Okay, so @bbigras also ran into timeouts, when uploading a NAR file over a slow connection.
I think we should make the timeouts configurable via a CLI argument. Does one of you want to open a PR for this?
A bunch of absolute timeouts are set here, which are too small when uploading or downloading large NARs over (relatively) slow connections.
e.g. a 1.5GB NAR cannot be transferred over 100MBps line successfully.