alexcasalboni/ssm-cache-python

Improve "internal" consistency for individual params of a group

Ouverte

#16 ouverte le 28 févr. 2018

 (0 commentaire) (0 réaction) (0 personne assignée)Python (20 forks)github user discovery
enhancementhelp wantedquestion

Métriques du dépôt

Stars
 (209 étoiles)
Métriques de merge PR
 (Merge moyen 9j 9h) (3 PRs mergées en 30 j)

Description

_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.

Guide contributeur