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

HttpFileServerSettings.maxAge should be a Duration. #178

Merged
merged 1 commit into from Feb 8, 2013

Conversation

Projects
None yet
2 participants
@Abscissa

Abscissa commented Feb 8, 2013

settings.maxAge = days(3);

...is a cleaner/easier/safer than...

settings.maxAge = 60*60*24*3; // 3 days

s-ludwig added a commit that referenced this pull request Feb 8, 2013

Merge pull request #178 from Abscissa/maxage-duration
HttpFileServerSettings.maxAge should be a Duration.

@s-ludwig s-ludwig merged commit ca5549e into vibe-d:master Feb 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment