mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
lib/db: Remove reference to env var that never existed
This commit is contained in:
parent
ee61da5b6a
commit
9a1df97c69
@ -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…
Reference in New Issue
Block a user