Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-896

Use chrono::duration for mongocxx::options::index::expire_after_seconds

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.2
    • Component/s: API
    • Labels:
      None
    • Sprint:
      Platforms 14 (05/13/16), Platforms 15 (06/03/16)

      Description

      In the same vein as CXX-879. Given the chrono facility available in any environment targeted by this driver, manually converting a human-readable duration to seconds expressed as an int32_t seems a bit quaint, so I'm curious if there would be value in using a chrono::duration to express index TTL values.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            alb@neptunesystems.com Allan Bazinet
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: