NewData ordered by default

This commit is contained in:
2025-01-15 19:59:13 +01:00
parent e848be94c1
commit 6338cb6364
8 changed files with 44 additions and 31 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ pub const HELP_MESSAGE = struct {
pub const no_schema: []const u8 =
\\A database was found here `{s}` but no schema find inside.
\\To start a database, you need to attach it a schema using a schema file.
\\By using 'schema init path/to/schema'. For more informations on how to create a schema: TODO add link
\\By using 'schema use path/to/schema'. For more informations on how to create a schema: TODO add link
\\
\\You can also set the environment variable ZIPPONDB_SCHEMA to the path to a schema file.
\\
+1 -1
View File
@@ -1,4 +1,4 @@
pub const BUFFER_SIZE = 1024 * 10; // Used a bit everywhere. The size for the schema for example. 10kB
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 CPU_CORE = 16;