mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 15:02:27 -05:00
[feature] Add instance-stats-randomize config option (#3718)
* [feature] Add `instance-stats-randomize` config option * don't use cache (overkill)
This commit is contained in:
parent
c47b9bd1d1
commit
a55bd6d2bd
13 changed files with 183 additions and 10 deletions
|
|
@ -17,7 +17,10 @@
|
|||
|
||||
package model
|
||||
|
||||
import "mime/multipart"
|
||||
import (
|
||||
"mime/multipart"
|
||||
"time"
|
||||
)
|
||||
|
||||
// InstanceSettingsUpdateRequest models an instance update request.
|
||||
//
|
||||
|
|
@ -148,3 +151,11 @@ type InstanceConfigurationEmojis struct {
|
|||
// example: 51200
|
||||
EmojiSizeLimit int `json:"emoji_size_limit"`
|
||||
}
|
||||
|
||||
// swagger:ignore
|
||||
type RandomStats struct {
|
||||
Statuses int64
|
||||
TotalUsers int64
|
||||
MonthlyActiveUsers int64
|
||||
Generated time.Time
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue