Skip to content

Settings with time units #1

@mitfik

Description

@mitfik

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...

Activity

tpickett66

tpickett66 commented on Mar 18, 2013

@tpickett66
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @tpickett66@mitfik

        Issue actions

          Settings with time units · Issue #1 · rubycas/rubycas-server-core