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

registered origin constraints with /info #46

Merged
merged 1 commit into from Oct 22, 2014

Conversation

notmyname
Copy link
Contributor

min_ttl, max_ttl, default_ttl, and max_cdn_file_size are now
exposed in the /info endpoint under the 'cdn_origin' key.

In order to keep only one place for setting the default values
in the code, the defaults for these variables is set in a constant.

A functional test was added to check that these values exist and
return something castable to an int.

Updated the sample config to reflect the default value set by the code.

min_ttl, max_ttl, default_ttl, and max_cdn_file_size are now
exposed in the /info endpoint under the 'cdn_origin' key.

In order to keep only one place for setting the default values
in the code, the defaults for these variables is set in a constant.

A functional test was added to check that these values exist and
return something castable to an int.

Updated the sample config to reflect the default value set by the code.
@dpgoetz
Copy link
Owner

dpgoetz commented Sep 22, 2014

sorry- merged my other patch and now there's a conflict. other than that looks fine

@dpgoetz dpgoetz merged commit cc778f4 into dpgoetz:master Oct 22, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants