alexcasalboni/ssm-cache-python
Improve "internal" consistency for individual params of a group
開放
#16 建立於 2018年2月28日
enhancementhelp wantedquestion
倉庫指標
- 星標
- (209 顆星)
- PR 合併指標
- (平均合併 9天 9小時) (30 天內合併 3 個 PR)
描述
_max_age and _last_refresh_time are not currently "shared" between a SSMParameterGroup and its SSMParameter objects.
While #14 has fixed the refreshing bug due to this inconsistency, we could somehow keep the internal Refreshable fields in sync between a group and its parameters to avoid more problems in the future. The current solution always delegates _should_refresh to the group.