summaryrefslogtreecommitdiff
path: root/internal/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index bd9fc468c..99b07358e 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -194,6 +194,10 @@ type GTSCacheConfiguration struct {
BlockTTL time.Duration `name:"block-ttl"`
BlockSweepFreq time.Duration `name:"block-sweep-freq"`
+ BlockIDsMaxSize int `name:"block-ids-max-size"`
+ BlockIDsTTL time.Duration `name:"block-ids-ttl"`
+ BlockIDsSweepFreq time.Duration `name:"block-ids-sweep-freq"`
+
DomainBlockMaxSize int `name:"domain-block-max-size"`
DomainBlockTTL time.Duration `name:"domain-block-ttl"`
DomainBlockSweepFreq time.Duration `name:"domain-block-sweep-freq"`
@@ -210,10 +214,18 @@ type GTSCacheConfiguration struct {
FollowTTL time.Duration `name:"follow-ttl"`
FollowSweepFreq time.Duration `name:"follow-sweep-freq"`
+ FollowIDsMaxSize int `name:"follow-ids-max-size"`
+ FollowIDsTTL time.Duration `name:"follow-ids-ttl"`
+ FollowIDsSweepFreq time.Duration `name:"follow-ids-sweep-freq"`
+
FollowRequestMaxSize int `name:"follow-request-max-size"`
FollowRequestTTL time.Duration `name:"follow-request-ttl"`
FollowRequestSweepFreq time.Duration `name:"follow-request-sweep-freq"`
+ FollowRequestIDsMaxSize int `name:"follow-request-ids-max-size"`
+ FollowRequestIDsTTL time.Duration `name:"follow-request-ids-ttl"`
+ FollowRequestIDsSweepFreq time.Duration `name:"follow-request-ids-sweep-freq"`
+
InstanceMaxSize int `name:"instance-max-size"`
InstanceTTL time.Duration `name:"instance-ttl"`
InstanceSweepFreq time.Duration `name:"instance-sweep-freq"`