increase maximum comment length
This commit is contained in:
parent
b446b68e67
commit
cdce746afd
2 changed files with 72 additions and 72 deletions
|
@ -171,8 +171,8 @@ sub startup {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
# https://de.wikipedia.org/wiki/Liste_nach_Gemeinden_und_Regionen_benannter_IC/ICE-Fahrzeuge#Namensgebung_ICE-Triebz%C3%BCge_nach_Gemeinden
|
# https://de.wikipedia.org/wiki/Liste_nach_Gemeinden_und_Regionen_benannter_IC/ICE-Fahrzeuge#Namensgebung_ICE-Triebz%C3%BCge_nach_Gemeinden
|
||||||
# via https://github.com/marudor/bahn.expert/blob/main/src/server/coachSequence/TrainNames.ts
|
# via https://github.com/marudor/bahn.expert/blob/main/src/server/coachSequence/TrainNames.ts
|
||||||
$self->attr(
|
$self->attr(
|
||||||
ice_name => sub {
|
ice_name => sub {
|
||||||
my $id_to_name = JSON->new->utf8->decode(
|
my $id_to_name = JSON->new->utf8->decode(
|
||||||
|
@ -946,8 +946,8 @@ sub startup {
|
||||||
|
|
||||||
my $db = $self->pg->db;
|
my $db = $self->pg->db;
|
||||||
|
|
||||||
# TODO "with_timestamps" is misleading, there are more differences between in_transit and in_transit_str
|
# TODO "with_timestamps" is misleading, there are more differences between in_transit and in_transit_str
|
||||||
# Here it's only needed because of dep_eva / arr_eva names
|
# Here it's only needed because of dep_eva / arr_eva names
|
||||||
my $in_transit = $self->in_transit->get(
|
my $in_transit = $self->in_transit->get(
|
||||||
db => $db,
|
db => $db,
|
||||||
uid => $uid,
|
uid => $uid,
|
||||||
|
|
|
@ -360,7 +360,7 @@ sub get_connecting_trains_p {
|
||||||
sub {
|
sub {
|
||||||
my ($err) = @_;
|
my ($err) = @_;
|
||||||
|
|
||||||
# TODO logging. HAFAS errors should never happen, IRIS errors are noteworthy too.
|
# TODO logging. HAFAS errors should never happen, IRIS errors are noteworthy too.
|
||||||
$promise->reject($err);
|
$promise->reject($err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue