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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.2
    • Affects Version/s: 3.0.1
    • Component/s: API
    • 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 Unassigned
            Reporter:
            alb@neptunesystems.com Allan Bazinet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: