summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Model/Journeys.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-26 18:35:51 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-26 18:35:51 +0200
commitdf21c20c6e4c86454f8a9ac69121404415217f2a (patch)
tree517b99430d308708cae7745967db85028fbe93b8 /lib/Travelynx/Model/Journeys.pm
parentbe335cef07d0b42874f5fc1de4a1d13396e8e807 (diff)
revert connection targets min_count to 3
Diffstat (limited to 'lib/Travelynx/Model/Journeys.pm')
-rwxr-xr-xlib/Travelynx/Model/Journeys.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Model/Journeys.pm b/lib/Travelynx/Model/Journeys.pm
index e309d37..e47df58 100755
--- a/lib/Travelynx/Model/Journeys.pm
+++ b/lib/Travelynx/Model/Journeys.pm
@@ -1764,7 +1764,7 @@ sub get_connection_targets {
my $threshold = $opt{threshold}
// DateTime->now( time_zone => 'Europe/Berlin' )->subtract( months => 4 );
my $db = $opt{db} //= $self->{pg}->db;
- my $min_count = $opt{min_count} // 1;
+ my $min_count = $opt{min_count} // 3;
my $dest_id = $opt{eva};
if ( $opt{destination_name} ) {