alexcasalboni/ssm-cache-python

Improve "internal" consistency for individual params of a group

オープン

#16 opened on 2018/02/28

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (20 件のフォーク)github user discovery
enhancementhelp wantedquestion

Repository metrics

Stars
 (209 個のスター)
PR merge metrics
 (平均マージ 9d 9h) (30d で 3 merged PRs)

説明

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

コントリビューターガイド