Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2230

Update RateLimiter to allow the acquired future to be discarded

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • libprocess
    • None

    Description

      Currently there is no way for the future returned by RateLimiter's acquire() to be discarded by the user of the limiter. This is useful in cases where the user is no longer interested in the permit. See MESOS-1148 for an example use case.

      Attachments

        Issue Links

          Activity

            People

              vinodkone Vinod Kone
              vinodkone Vinod Kone
              Benjamin Mahler Benjamin Mahler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: