update deprecated comment

This commit is contained in:
VolodymyrBg 2025-09-18 19:04:03 +03:00 committed by GitHub
parent 8a171dce1f
commit e250b56300
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,8 +76,9 @@ type Freezer struct {
// NewFreezer creates a freezer instance for maintaining immutable ordered // NewFreezer creates a freezer instance for maintaining immutable ordered
// data according to the given parameters. // data according to the given parameters.
// //
// The 'tables' argument defines the data tables. If the value of a map // The 'tables' argument defines the freezer tables and their configuration.
// entry is true, snappy compression is disabled for the table. // Each value is a freezerTableConfig specifying whether snappy compression is
// disabled (noSnappy) and whether the table is prunable (prunable).
func NewFreezer(datadir string, namespace string, readonly bool, maxTableSize uint32, tables map[string]freezerTableConfig) (*Freezer, error) { func NewFreezer(datadir string, namespace string, readonly bool, maxTableSize uint32, tables map[string]freezerTableConfig) (*Freezer, error) {
// Create the initial freezer object // Create the initial freezer object
var ( var (