From e182ad278cb593ff55db5a87d5e6f9dd710ef27d Mon Sep 17 00:00:00 2001 From: tbernesga <49880219+tbernesga@users.noreply.github.com> Date: Mon, 22 Apr 2019 20:06:41 +0200 Subject: "Hours Accumulator" not adding hours Solve "Hours Accumulator" not adding hours because of order in Handler init. --- src/main/java/org/traccar/BasePipelineFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/org/traccar/BasePipelineFactory.java b/src/main/java/org/traccar/BasePipelineFactory.java index a92dba7fa..0f1e89535 100644 --- a/src/main/java/org/traccar/BasePipelineFactory.java +++ b/src/main/java/org/traccar/BasePipelineFactory.java @@ -134,8 +134,8 @@ public abstract class BasePipelineFactory extends ChannelInitializer { FilterHandler.class, GeocoderHandler.class, MotionHandler.class, + CopyAttributesHandler.class, EngineHoursHandler.class, - CopyAttributesHandler.class, ComputedAttributesHandler.class, WebDataHandler.class, DefaultDataHandler.class); -- cgit v1.2.3 From b416e130f77d0d1e4f1a9a769a3cb2ed267d7303 Mon Sep 17 00:00:00 2001 From: tbernesga <49880219+tbernesga@users.noreply.github.com> Date: Mon, 22 Apr 2019 21:02:28 +0200 Subject: Update BasePipelineFactory.java --- src/main/java/org/traccar/BasePipelineFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/org/traccar/BasePipelineFactory.java b/src/main/java/org/traccar/BasePipelineFactory.java index 0f1e89535..5a5850a86 100644 --- a/src/main/java/org/traccar/BasePipelineFactory.java +++ b/src/main/java/org/traccar/BasePipelineFactory.java @@ -134,7 +134,7 @@ public abstract class BasePipelineFactory extends ChannelInitializer { FilterHandler.class, GeocoderHandler.class, MotionHandler.class, - CopyAttributesHandler.class, + CopyAttributesHandler.class, EngineHoursHandler.class, ComputedAttributesHandler.class, WebDataHandler.class, -- cgit v1.2.3