flokli / nix-casync

A more efficient way to store and substitute Nix store paths
80 stars 4 forks source link

too small absolute timeouts #42

Open ajs124 opened 2 years ago

ajs124 commented 2 years ago

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.

573 commented 2 years ago

+1

flokli commented 2 years ago

Do you see the 100 Errors as per https://github.com/flokli/nix-casync/issues/19 when trying to upload?

ajs124 commented 2 years ago

I don't think so, it just closes the connection, from what I remember. I've mainly observed this on download, not on upload.

flokli commented 1 year ago

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?