From 70bd5832a9a377e11ff1924f2507133468a21ece Mon Sep 17 00:00:00 2001 From: Alban Diguer Date: Sat, 30 Nov 2013 13:06:39 +1300 Subject: [PATCH] Performance: reduce max length post model for testing purpose --- .gitignore | 1 + config/site_settings.yml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b1db6d892..e543785c0 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,7 @@ config/environments/production.rb /tmp /plugins /logfile +log/ /spec/fixtures/plugins/my_plugin/auto_generated diff --git a/config/site_settings.yml b/config/site_settings.yml index 7afb85f3d..4d19112c8 100644 --- a/config/site_settings.yml +++ b/config/site_settings.yml @@ -134,7 +134,9 @@ posting: default: 10 max_post_length: client: true - default: 32000 + default: + test: 4000 + default: 32000 min_topic_title_length: client: true default: 15