Skip to content

Commit 51bbb3c

Browse files
committed
feat: Define new default value for --history flag
1 parent 9b9f174 commit 51bbb3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ DEFINE_bool(csv_doublequote, true,
9191
"If `csv-doublequote` is false, 'csv-escapechar' must be set.");
9292

9393
// history
94-
DEFINE_string(history, "~/.memgraph", "Use the specified directory to save history.");
94+
DEFINE_string(history, "/tmp/.memgraph", "Use the specified directory to save history."); // Use /tmp because in K8s deployments users want to have read-only root filesystem. Folder /home/memgraph is part then of the root fileystem and hence read-only
9595
DEFINE_bool(no_history, false, "Do not save history.");
9696

9797
DEFINE_string(

0 commit comments

Comments
 (0)