-
-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better fallback for unavailable event age (#3854)
* Age fallback using origin_server_ts instead of 0 Signed-off-by: Timo K <[email protected]> * use getMsUntilExpiry for isExpired Signed-off-by: Timo K <[email protected]> * fix tests tests now also rely on localTimestamp. So this need to be mocked as well Signed-off-by: Timo K <[email protected]> * better fallback for unavailable unsigned Signed-off-by: Timo K <[email protected]> --------- Signed-off-by: Timo K <[email protected]>
- Loading branch information
Showing
4 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters