cmd/syncthing, gui: Implement download of "support bundle" (fixes #5142) (#5145)

This commit is contained in:
BAHADIR YILMAZ
2018-10-01 18:23:46 +03:00
committed by Jakob Borg
parent c2b0d309fb
commit 675846ac1e
4 changed files with 153 additions and 0 deletions

View File

@@ -1261,6 +1261,7 @@ func cleanConfigDirectory() {
"*.idx.gz": 30 * 24 * time.Hour, // these should for sure no longer exist
"backup-of-v0.8": 30 * 24 * time.Hour, // these neither
"tmp-index-sorter.*": time.Minute, // these should never exist on startup
"support-bundle-*": 30 * 24 * time.Hour, // keep old support bundle zip or folder for a month
}
for pat, dur := range patterns {