Changes for UAT
parent
ea5acd1f90
commit
16b6256367
|
@ -1,4 +1,4 @@
|
|||
version: "3.9"
|
||||
version: "3.0"
|
||||
services:
|
||||
server:
|
||||
build: .
|
||||
|
@ -8,7 +8,7 @@ services:
|
|||
volumes:
|
||||
- ./:/app
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "80:3000"
|
||||
- "4040:4040"
|
||||
worker:
|
||||
build: .
|
||||
|
|
|
@ -185,6 +185,7 @@ function processSegmentRLog(rLogPath) {
|
|||
|
||||
let readStream;
|
||||
let reader;
|
||||
|
||||
try {
|
||||
readStream = fs.createReadStream(temporaryFile);
|
||||
reader = Reader(readStream);
|
||||
|
@ -199,8 +200,11 @@ function processSegmentRLog(rLogPath) {
|
|||
} catch (exception) { }
|
||||
resolve();
|
||||
});
|
||||
|
||||
//const jsonLog = fs.createWriteStream(rLogPath.replace('.bz2', '.json'));
|
||||
try {
|
||||
reader((obj) => {
|
||||
//jsonLog.write(JSON.stringify(obj));
|
||||
try {
|
||||
if (obj.LogMonoTime !== undefined && obj.LogMonoTime - rlog_lastTsInternal >= 1000000 * 1000 * 0.99 && obj.GpsLocation !== undefined) {
|
||||
logger.info(`processSegmentRLog GpsLocation @ ${obj.LogMonoTime}: ${obj.GpsLocation.Latitude} ${obj.GpsLocation.Longitude}`);
|
||||
|
|
Loading…
Reference in New Issue