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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.0.2
    • 3.0.1
    • API
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: