-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix atstccfg deliveryserviceserver caching Fixses an inconsistent ORT bug with files, noticably parent.config, not having all lines. Bug was filtering before saving the cache file. DSS gets everything, and then filters. It was filtering before saving the cache file, causing subsequent ORT calls under the cache age which had more DSSes to be missing them. This fixes it to filter after saving/loading the cache file, instead of before. * Add ORT use_cache arg, default true. Adds a use_cache argument to ORT (default true) to allow callers to tell atstccfg to not use the cache. We've had several cache bugs in the past, and caching is hard. The atstccfg app already has a --no-cache arg, this just adds it to ORT, which allows users to disable the cache if there's an issue, without having to modify ORT, just their cron. (cherry picked from commit 9c65e69) Co-authored-by: Robert Butts <[email protected]>
- Loading branch information
Showing
2 changed files
with
39 additions
and
32 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