Don't cache nix-cache-info very long

This commit is contained in:
Eelco Dolstra 2014-11-06 15:30:24 +01:00
parent c250407f3c
commit c503876a7e

View file

@ -244,7 +244,7 @@ sub nix_cache_info :Path('nix-cache-info') :Args(0) {
# Give Hydra binary caches a very low priority (lower than the
# static binary cache http://nixos.org/binary-cache).
"Priority: 100\n";
setCacheHeaders($c, 365 * 24 * 60 * 60);
setCacheHeaders($c, 24 * 60 * 60);
$c->forward('Hydra::View::Plain');
}