mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Remove Bolt Mmap Flag (#11236)
* remove mmap flag * fix mmap * fix all build * gaz * config * fix
This commit is contained in:
@@ -243,12 +243,6 @@ var (
|
||||
Usage: "Target directory of the restored database",
|
||||
Value: DefaultDataDir(),
|
||||
}
|
||||
// BoltMMapInitialSizeFlag specifies the initial size in bytes of boltdb's mmap syscall.
|
||||
BoltMMapInitialSizeFlag = &cli.IntFlag{
|
||||
Name: "bolt-mmap-initial-size",
|
||||
Usage: "Specifies the size in bytes of bolt db's mmap syscall allocation",
|
||||
Value: 536870912, // 512 Mb as a default value.
|
||||
}
|
||||
// ApiTimeoutFlag specifies the timeout value for API requests in seconds. A timeout of zero means no timeout.
|
||||
ApiTimeoutFlag = &cli.IntFlag{
|
||||
Name: "api-timeout",
|
||||
|
||||
Reference in New Issue
Block a user