You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #1540: Overhaul stats: Persist all torrents downloads metric
4febda4 fic: [#1539] persisten metrics should be enabled by config (Jose Celano)
2c9311b test: [#1539] add integration test for persisted downloads counter (Jose Celano)
c07f366 feat: [#1539] load global downloads counter from DB (Jose Celano)
9301e58 feat: [#1539] save global downloads counter in DB (Jose Celano)
6f11534 feat: [#1539] add method to Database trait to persis global downloads counter (Jose Celano)
Pull request description:
Persist "all torrent downloads" metric.
### Subtasks
- [x] Add new methods to the `Database` trait.
- [x] Make use of the new methods to persist the metric `TRACKER_CORE_PERSISTENT_TORRENTS_DOWNLOADS_TOTAL`.
- [x] Add an integration test.
ACKs for top commit:
josecelano:
ACK 4febda4
Tree-SHA512: f2d316361048a368fdf23da4ad5550b2c27544b589fe03f55bae3174e206e1a76b53d1ad5f586e49e2731a738d49c0e3b7d6cc4dda1b7feb936b321d620d8d2c
0 commit comments