alexcasalboni/ssm-cache-python

Improve "internal" consistency for individual params of a group

Aberta

#16 aberto em 28 de fev. de 2018

 (0 comentário) (0 reação) (0 responsável)Python (20 forks)github user discovery
enhancementhelp wantedquestion

Métricas do repositório

Stars
 (209 estrelas)
Métricas de merge de PR
 (Mesclagem média 9d 9h) (3 fundiu PRs em 30d)

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.

Guia do colaborador