lib/db: Remove reference to env var that never existed

This commit is contained in:
Jakob Borg 2020-02-27 11:21:35 +01:00
parent ee61da5b6a
commit 9a1df97c69

View File

@ -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
}