Commit graph

3 commits

Author SHA1 Message Date
ysksn
9cad360caa Create Redisable#redis ()
* Create Redisable

* Use #redis instead of Redis.current
2019-02-02 19:11:38 +01:00
Eugen Rochko
cb45282e47 Fix stats expiring too quickly because of variable mistake () 2018-01-02 14:02:53 +01:00
Eugen Rochko
9427823d5c Add more instance stats APIs ()
* Add GET /api/v1/instance/peers API to reveal known domains

* Add GET /api/v1/instance/activity API

* Make new APIs disableable, exclude private statuses from activity stats

* Fix code style issue

* Fix week timestamps
2017-12-29 19:52:04 +01:00