perf: avoid global lock in jt808 mileage processor
This commit is contained in:
@@ -21,7 +21,7 @@ public final class Jt808MileageStreamProcessor {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public synchronized void process(VehicleEnvelope envelope) {
|
||||
public void process(VehicleEnvelope envelope) {
|
||||
extractor.extract(envelope).ifPresent(this::processPoint);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user