Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pi: Update proposal status cache logging.
This commit makes two minor tweaks to the proposal status cache: 1. Only overwrite existing entries if the proposal status has changed. The logging was too noisy without this. 2. Add the proposal status to the debug logging along with the token. Example log statements: ``` 2021-12-03 15:23:36.390 [DBG] PLUG: proposalStatuses: updated entry 2f459c359620f942 from unvetted to under-review 2021-12-03 15:30:40.254 [DBG] PLUG: proposalStatuses: added entry 05e06fe789cebf7e with status active 2021-12-03 15:31:40.254 [DBG] PLUG: proposalStatuses: removed entry acafd57e67a0e519 ```
- Loading branch information