Updated lib config and small stuff
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
pub const BUFFER_SIZE = 1024 * 10; // Used a bit everywhere. The size for the schema for example. 10kB
|
||||
pub const MAX_FILE_SIZE = 1024 * 1024; // 1MB
|
||||
pub const CPU_CORE = 0;
|
||||
pub const MAX_FILE_SIZE = 1024 * 1024 * 5; // Tried multiple MAX_FILE_SIZE and found 5Mb is good
|
||||
pub const CPU_CORE = 0; // If 0, take maximum using std.Thread.getCpuCount()
|
||||
|
||||
// Debug
|
||||
pub const PRINT_STATE = false;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
pub const BUFFER_SIZE = 1024 * 1024; // Used a bit everywhere. The size for the schema for example. 10kB
|
||||
pub const MAX_FILE_SIZE = 1024 * 1024; // 1MB
|
||||
pub const MAX_FILE_SIZE = 1024 * 1024 * 5; // Tried multiple MAX_FILE_SIZE and found 5Mb is good
|
||||
pub const CPU_CORE = 16;
|
||||
|
||||
// Debug
|
||||
@@ -17,7 +17,7 @@ pub const HELP_MESSAGE = struct {
|
||||
\\run To run a query.
|
||||
\\db Create or chose a database.
|
||||
\\schema Initialize the database schema.
|
||||
\\dump To export data in other format and backup.
|
||||
\\dump To export data in other format and backup. (experimental)
|
||||
\\quit Stop the CLI with memory safety.
|
||||
\\
|
||||
\\For more informations: https://mrbounty.github.io/ZipponDB/cli
|
||||
|
||||
Reference in New Issue
Block a user