alexcasalboni/ssm-cache-python
Improve "internal" consistency for individual params of a group
Aperta
#16 aperta il 28 feb 2018
enhancementhelp wantedquestion
Metriche repository
- Star
- (209 stelle)
- Metriche merge PR
- (Merge medio 9g 9h) (3 PR mergiate in 30 g)
Descrizione
_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.