func StoreRetryInfo(section Section, msgID string, info RetryInfo) error {
	p, err := GetPath(section, msgID, ".retry.json")
	if err != nil {
		return err
	}

	data, err := json.Marshal(info)
	if err != nil {
		return err
	}

	return afero.WriteFile(fs, p, data, 0600)
}
// StoreRetryInfo saves the retry information back to disk
StoreRetryInfo saves the retry information back to disk
// StoreRetryInfo saves the retry information back to disk
func StoreRetryInfo(section Section, msgID string, info RetryInfo) error {
	p, err := GetPath(section, msgID, ".retry.json")
	if err != nil {
		return err
	}
	data, err := json.Marshal(info)
	if err != nil {
		return err
	}
	return afero.WriteFile(fs, p, data, 0600)
}
func StoreRetryInfo ( section Section , msgID string , info RetryInfo ) error { p , err := GetPath ( section , msgID , " " ) if err != nil { return err } data , err := json . Marshal ( info ) if err != nil { return err } return afero . WriteFile ( fs , p , data , 0600 ) }
StoreRetryInfo saves the retry information back to disk
StoreRetryInfo saves the retry information back to disk