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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • 3.0.2
    • Affects Version/s: 3.0.1
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Allan Bazinet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: