mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
lib/db: Remove reference to env var that never existed
This commit is contained in:
parent
4f7a77597e
commit
883497966e
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user