-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unbounded lease duration #17
Comments
with #20 this problem would go away and simply translate to a subscription resource not signaling a Sunset. |
I don't think that's true: not specifying a lease duration is different to specifying an unbounded lease duration, unless that is explicitly given in the spec as the interpretation of an absent lease duration. For example, not specifying a lease duration could mean "whatever the hub does by default", rather than "unbounded". The form by which the information is communicated ( |
true. any resource on the web that does not advertise its sunset can disappear at any time. however, what would be the problem with saying that not asking for if we use #20, a client could find out by |
There would be no problem with that: it is one way of a) signalling unbounded lease duration and b) interpreting a missing lease duration. My preference would be to make unbounded-duration explicit, and to keep the current behaviour of |
I am strongly opposed to unbound subscriptions for 2 reasons:
|
We discussed this with the group during the f2f meeting and came to the conclusion that requiring lease expiration is important. |
@tonyg just wanted to double check that you're okay with the outcome of this thread. |
Yes, I am. Thank you, Aaron. |
The specification of 20 Oct 2016 specifies
hub.lease_seconds
as specifying a finite number of seconds after which a subscription will expire.Previous PSHB discussion [1] included discussion of a special value indicating a lease of unbounded duration, for use both in requests from subscribing parties and verifications from hubs. Suggestions for a concrete value included
0
and-1
; I'd also like to suggestunbounded
here. I also recommend that0
not be considered as an indication of unboundedness, since it already has a reasonable meaning when interpreted as an actual lease duration.Having an explicit value would help avoid situations where 'random large integers' like
999999
etc. are used in place of a trueunbounded
value.[1] e.g. https://groups.google.com/forum/#!msg/pubsubhubbub/q6_ahhn1FpU/uXW8d58BKAkJ
The text was updated successfully, but these errors were encountered: