code: func (t *ProgressEmitter) CommitConfiguration(from, to config.Configuration) bool {
  	t.mut.Lock()
  	defer t.mut.Unlock()
  
  	switch {
  	case t.disabled && to.Options.ProgressUpdateIntervalS >= 0:
  		t.disabled = false
  		l.Debugln("progress emitter: enabled")
  		fallthrough
  	case !t.disabled && from.Options.ProgressUpdateIntervalS != to.Options.ProgressUpdateIntervalS:
  		t.interval = time.Duration(to.Options.ProgressUpdateIntervalS) * time.Second
  		if t.interval < time.Second {
  			t.interval = time.Second
  		}
  		l.Debugln("progress emitter: updated interval", t.interval)
  	case !t.disabled && to.Options.ProgressUpdateIntervalS < 0:
  		t.clearLocked()
  		t.disabled = true
  		l.Debugln("progress emitter: disabled")
  	}
  	t.minBlocks = to.Options.TempIndexMinBlocks
  
  	return true
  }
docs: // CommitConfiguration implements the config.Committer interface