Once we switch to Argus, webhook expirations will be driven by Argus' TTL of the entries in its database.
This is making me question the precise role of fields such as Until and especially Duration
Source: https://github.com/xmidt-org/webpa-common/blob/main/webhook/webhook.go#L55
For Duration: we're always setting this value to 5 mins and I don't really see it being used except for times when Until is not defined.
For Until: I can see this field being a more immediate way for caduceus to know whether to keep sending events or not to a subscriber. However, the list of subscribers will be eventually refreshed through Argus anyways.
Once we switch to Argus, webhook expirations will be driven by Argus' TTL of the entries in its database.
This is making me question the precise role of fields such as
Untiland especiallyDurationSource: https://github.com/xmidt-org/webpa-common/blob/main/webhook/webhook.go#L55
For
Duration: we're always setting this value to 5 mins and I don't really see it being used except for times whenUntilis not defined.For
Until: I can see this field being a more immediate way for caduceus to know whether to keep sending events or not to a subscriber. However, the list of subscribers will be eventually refreshed through Argus anyways.