From c7b15dc952c8993b3d73df4438867af136ef27d1 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Wed, 7 Jun 2017 22:52:33 +0200 Subject: [PATCH] Small changes for my git pre-commit hook --- lib/Lutim/Command/cron/stats.pm | 2 +- t/postgresql.conf | 2 +- t/sqlite.conf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Lutim/Command/cron/stats.pm b/lib/Lutim/Command/cron/stats.pm index f4848d4..5760723 100644 --- a/lib/Lutim/Command/cron/stats.pm +++ b/lib/Lutim/Command/cron/stats.pm @@ -24,8 +24,8 @@ sub run { } my $config = $c->app->plugin('Config', { file => $cfile, - theme => 'default', default => { + theme => 'default', stats_day_num => 365, dbtype => 'sqlite' } diff --git a/t/postgresql.conf b/t/postgresql.conf index c9205a1..6c63ca5 100644 --- a/t/postgresql.conf +++ b/t/postgresql.conf @@ -154,7 +154,7 @@ # max size of the files directory, in octets # used by script/lutim cron watch to trigger an action # optional, no default - #max_total_size => 10*1024*1024*1024, + max_total_size => 10*1024*1024*1024, # default action when files directory is over max_total_size (used with script/lutim cron watch) # valid values are 'warn', 'stop-upload' and 'delete' diff --git a/t/sqlite.conf b/t/sqlite.conf index 6d09e79..85b9a8b 100644 --- a/t/sqlite.conf +++ b/t/sqlite.conf @@ -111,7 +111,7 @@ # choose what database you want to use # valid choices are sqlite and postgresql (all lowercase) # optional, default is sqlite - #dbtype => 'sqlite', + dbtype => 'sqlite', # SQLite ONLY - only used if dbtype is set to sqlite # define a path to the SQLite database @@ -154,7 +154,7 @@ # max size of the files directory, in octets # used by script/lutim cron watch to trigger an action # optional, no default - #max_total_size => 10*1024*1024*1024, + max_total_size => 10*1024*1024*1024, # default action when files directory is over max_total_size (used with script/lutim cron watch) # valid values are 'warn', 'stop-upload' and 'delete'