mirror of
https://github.com/sartoopjj/thefeed.git
synced 2026-05-18 07:44:45 +03:00
fix: update GitHub relay max file size to 15 MB and adjust TTL in setup script
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ func main() {
|
||||
ghToken := flag.String("github-relay-token", "", "GitHub PAT with contents:write on the relay repo")
|
||||
ghRepo := flag.String("github-relay-repo", "", "GitHub repo for the fast relay, e.g. owner/repo")
|
||||
ghBranch := flag.String("github-relay-branch", "main", "Default branch to commit to (e.g. main, master)")
|
||||
ghMaxSizeKB := flag.Int("github-relay-max-size", 25*1024, "Per-file cap for the GitHub relay in KB (0 = no cap)")
|
||||
ghMaxSizeKB := flag.Int("github-relay-max-size", 15*1024, "Per-file cap for the GitHub relay in KB (0 = no cap)")
|
||||
ghCacheTTLMin := flag.Int("github-relay-ttl", 600, "TTL for GitHub-relay objects in minutes")
|
||||
showVersion := flag.Bool("version", false, "Show version and exit")
|
||||
flag.Usage = func() {
|
||||
|
||||
Reference in New Issue
Block a user