def _SleepTime(self, total, limit, duration):
    if not limit:
      return 0.0
    return max(0.0, (total / limit) - duration)
Users shouldn't see annotations in groups they aren't members of.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/remote_api/throttle.py/Throttle._SleepTime--crossover with--dataset/ETHPy150Open hypothesis/h/h/streamer/test/messages_test.py/TestHandleAnnotationEvent.test_none_if_not_in_group