Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 052d11c5 authored by Tej Singh's avatar Tej Singh
Browse files

Partial Config Update: store metric/state hashes

Store metric and state hashes, for use when determining if the
metric/state changed.

Metric hashes include any metric activations, if present. The hash is
calculated by doing h(h(metric) | h(activation)).

Also added a getType function for metrics, since the metric will be
different if either the type, the hash, or any dependencies change.

Test: m statsd
Change-Id: I7184fef6d8e726168eabbc1c0597d8c4dfdc5fff
parent 1049f8a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment