about summary refs log tree commit diff stats
path: root/src/config/preferences.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-04-29 14:41:41 +0200
committerMichael Vetter <jubalh@iodoru.org>2022-04-29 15:40:50 +0200
commitc4d7f1c29a2b3bfed93fc322e77263c0cd3e371a (patch)
tree9a19173fba3ba5a2f19b6d032a81689f5a19e6eb /src/config/preferences.h
parente0bcaaf81fa93c9a258809bbe26859f0922654c7 (diff)
downloadprofani-tty-c4d7f1c29a2b3bfed93fc322e77263c0cd3e371a.tar.gz
Set default max log size to 10MB
In case logrotate is on.
Diffstat (limited to 'src/config/preferences.h')
-rw-r--r--src/config/preferences.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/preferences.h b/src/config/preferences.h
index b663e82a..46f2669a 100644
--- a/src/config/preferences.h
+++ b/src/config/preferences.h
@@ -42,7 +42,7 @@
 #include <glib.h>
 
 #define PREFS_MIN_LOG_SIZE 64
-#define PREFS_MAX_LOG_SIZE 1048580
+#define PREFS_MAX_LOG_SIZE (10 * 1024 * 1024)
 
 // represents all settings in .profrc
 // each enum value is mapped to a group and key in .profrc (see preferences.c)