fork of whitequark.org/git-pages with mods for tangled
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add missing `[limits]` keys to default configuration.

+3 -1
+2
conf/config.example.toml
··· 44 44 max-symlink-depth = 16 45 45 update-timeout = "60s" 46 46 max-heap-size-ratio = 0.5 # * RAM_size 47 + forbidden-domains = [] 48 + # allowed-repository-url-prefixes = <nil> 47 49 48 50 [observability] 49 51 slow-response-threshold = "500ms"
+1 -1
src/config.go
··· 105 105 // Soft limit on Go heap size, expressed as a fraction of total available RAM. 106 106 MaxHeapSizeRatio float64 `toml:"max-heap-size-ratio" default:"0.5"` 107 107 // List of domains unconditionally forbidden for uploads. 108 - ForbiddenDomains []string `toml:"forbidden-domains"` 108 + ForbiddenDomains []string `toml:"forbidden-domains" default:"[]"` 109 109 // List of allowed repository URL prefixes. Setting this option prohibits uploading archives. 110 110 AllowedRepositoryURLPrefixes []string `toml:"allowed-repository-url-prefixes"` 111 111 }