code: func (db *DB) SetConfig(config Config) error {
  	db.mu.Lock()
  	defer db.mu.Unlock()
  	if db.closed {
  		return ErrDatabaseClosed
  	}
  	switch config.SyncPolicy {
  	default:
  		return ErrInvalidSyncPolicy
  	case Never, EverySecond, Always:
  	}
  	db.config = config
  	return nil
  }
docs: // SetConfig updates the database configuration.