From 044cad8ab8d86fdfeeabb23fee2597847740b618 Mon Sep 17 00:00:00 2001 From: Leopere Date: Sat, 6 Oct 2018 15:53:18 -0400 Subject: [PATCH] Add my.cnf with database optimizations for chainquery --- lbrycrd/my.cnf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lbrycrd/my.cnf diff --git a/lbrycrd/my.cnf b/lbrycrd/my.cnf new file mode 100644 index 0000000..cb0dbed --- /dev/null +++ b/lbrycrd/my.cnf @@ -0,0 +1,9 @@ +# Default Homebrew MySQL server config +[mysqld] +# Only allow connections from localhost +innodb_log_file_size=5G +key_buffer_size=1G +innodb_flush_log_at_trx_commit = 0 +innodb_autoinc_lock_mode=2 +innodb_buffer_pool_size=1G +innodb_log_buffer_size=1G