This commit is contained in:
2026-04-09 11:05:02 +08:00
parent a36c51de1e
commit 3d46c697a0
2 changed files with 23 additions and 9 deletions
+2 -2
View File
@@ -101,7 +101,7 @@ func GetDefaultConfig() Config {
Index: IndexConfig{
MaxURLsPerKey: 11000,
MaxSameDomainPerKey: 20,
BigCleanThreshold: 10000000,
BigCleanThreshold: 2000000,
MaxNewURLsPerKey: 10000,
MinURLsForNewKey: 3,
},
@@ -123,7 +123,7 @@ func GetDefaultConfig() Config {
ConsecutiveKeyWeight: 1.3,
BacklinkWeight: 1.0,
ServerPort: 80,
FlushIntervalSeconds: 60,
FlushIntervalSeconds: 30,
},
Backlink: BacklinkConfig{
Baseline: 200000,