Increase suggestion time range to 4 months

This commit is contained in:
Daniel Friesel 2019-05-24 17:09:11 +02:00
parent 1dc04eb45a
commit f4a6f8a400

View file

@ -1537,7 +1537,7 @@ sub startup {
my $uid = $opt{uid} //= $self->current_user->{id};
my $threshold = $opt{threshold}
// DateTime->now( time_zone => 'Europe/Berlin' )
->subtract( weeks => 6 );
->subtract( months => 4 );
my $db = $opt{db} //= $self->pg->db;
my $min_count = $opt{min_count} // 3;