mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
```bash for file in `cat diffys`; do printf '%s\n%s\n' "// Copyright 2021 Molecula Corp. All rights reserved." "$(cat $file)" >$file; done ```
15 lines
648 B
Go
15 lines
648 B
Go
// Copyright 2021 Molecula Corp. All rights reserved.
|
|
//go:build !386
|
|
// +build !386
|
|
|
|
package cfg
|
|
|
|
// DefaultMaxSize is the default mmap size and therefore the maximum allowed
|
|
// size of the database. The size can be increased by updating the DB.MaxSize
|
|
// and reopening the database. This setting mainly affects virtual space usage.
|
|
const DefaultMaxSize = 4 * (1 << 30)
|
|
|
|
// DefaultMaxWALSize is the default mmap size and therefore the maximum allowed
|
|
// size of the WAL. The size can be increased by updating the DB.MaxWALSize
|
|
// and reopening the database. This setting mainly affects virtual space usage.
|
|
const DefaultMaxWALSize = 4 * (1 << 30)
|