Skip to content
Snippets Groups Projects
Unverified Commit cecf3491 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

work: only request carriage formation for DB backends

parent e6ba4b0e
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,8 @@ sub run {
dep_eva => $dep,
arr_eva => $arr
);
if ( $journey->class <= 16
if ( $entry->{backend_id} <= 1
and $journey->class <= 16
and $found_dep->rt_dep->epoch > $now->epoch )
{
$self->app->add_wagonorder(
......@@ -106,7 +107,8 @@ sub run {
dep_eva => $dep,
arr_eva => $arr
);
if ( $journey->class <= 16
if ( $entry->{backend_id} <= 1
and $journey->class <= 16
and $found_arr->rt_arr->epoch - $now->epoch < 600 )
{
$self->app->add_wagonorder(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment