Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catalog timeouts mismatched with CVMFS default #81

Closed
olifre opened this issue Jun 28, 2018 · 3 comments
Closed

Catalog timeouts mismatched with CVMFS default #81

olifre opened this issue Jun 28, 2018 · 3 comments

Comments

@olifre
Copy link
Contributor

olifre commented Jun 28, 2018

As of:
942b207
catalog timeouts are now set to 30 s.
However, checking upstream code:
https://github.com/cvmfs/cvmfs/blob/bfceb7b8fa4a98e27c0409fffe33987e42642478/cvmfs/server/cvmfs_server_apache.sh#L279
and also what a fresh install creates, I see:

    # 60 seconds and below is not cached at all by Squid default settings
    ExpiresByType application/x-cvmfs "access plus 61 seconds"
    ExpiresByType application/json    "access plus 61 seconds"

so this new default of 30 s seems to mismatch upstream and be a bad idea for default squid configurations.

@traylenator
Copy link
Contributor

At the very least we make it a configuration with default. I think 30 may have been introduced locally here.

@traylenator
Copy link
Contributor

@olifre how does #82 look to you?

@olifre
Copy link
Contributor Author

olifre commented Jun 28, 2018

@traylenator This looks very good, especially to have it configurable!
Many thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants