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

Settings with time units #1

Open
mitfik opened this issue Mar 17, 2013 · 1 comment
Open

Settings with time units #1

mitfik opened this issue Mar 17, 2013 · 1 comment

Comments

@mitfik
Copy link
Contributor

mitfik commented Mar 17, 2013

Instead of raw numbers:

maximum_unused_login_ticket_lifetime: 300
maximum_unused_service_ticket_lifetime: 300
maximum_session_lifetime: 172800

3d => 3 days
5h => 5 hours
1s => 1 second

etc...

@tpickett66
Copy link
Contributor

good idea, I've pulled ActiveSupport for use in my fork and it shouldn't be too tough to implement the parsing of this format.

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

No branches or pull requests

2 participants