mirror of
https://github.com/syncthing/syncthing.git
synced 2026-03-29 19:53:03 -04:00
lib/db: Remove reference to env var that never existed
This commit is contained in:
@@ -36,11 +36,6 @@ const (
|
||||
var indirectGCInterval = indirectGCDefaultInterval
|
||||
|
||||
func init() {
|
||||
// deprecated
|
||||
if dur, err := time.ParseDuration(os.Getenv("STGCBLOCKSEVERY")); err == nil {
|
||||
indirectGCInterval = dur
|
||||
}
|
||||
// current
|
||||
if dur, err := time.ParseDuration(os.Getenv("STGCINDIRECTEVERY")); err == nil {
|
||||
indirectGCInterval = dur
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user