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'