Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 3.0.9
    • library
    • None
    • 1

    Description

      We now allow you to set an expiry with a timedelta, and warn when you are using a value which the server will interpret as being in the past. Further disambiguating, we could allow either a timedelta or a datetime. Then, the user's intent is clear. Lets to that.

      I believe we should still warn when the time is in the past - using the same 50 year stuff that is in there now. See couchbase/options.py, in timedelta_as_timestamp.

      The difference here will be the > 50 years from 1/1/70 isn't suspicious. Instead, a datetime in the past should be warned (since it expires immediately and goes away).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jared.casey Jared Casey
              david.kelly David Kelly (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty