cybozu-go / aptutil

Go utilities for Debian APT repositories
MIT License
127 stars 30 forks source link

[cacher] Frequency of Release checks too high? #8

Closed xipmix closed 8 years ago

xipmix commented 8 years ago

The default is 15 seconds. My concern is, if this utility comes into widespread use, won't it put a large load on the upstream servers? The whole point of having an apt-cache is to reduce the load on the upstream servers. Can you say what the rationale for 15s was? What would be the downsides of setting this to, say 3601s?

ymmt2005 commented 8 years ago

The implication in the default 15 seconds was that go-apt-cacher is supposedly used more often for (private) repositories with frequent updates.

That said, I agree the current default is a bit too short for public repositories. I think changing the default to 600 seconds is safer.