Skip to content

Commit

Permalink
expand buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
tblaha committed Feb 26, 2024
1 parent bc0c00f commit 29ab123
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/flightlog_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ var FlightLogIndex,
var FlightLogParser = function(logData) {
//Private constants:
var
FLIGHT_LOG_MAX_FIELDS = 128,
FLIGHT_LOG_MAX_FRAME_LENGTH = 256,
FLIGHT_LOG_MAX_FIELDS = 512,
FLIGHT_LOG_MAX_FRAME_LENGTH = 2048,

//Assume that even in the most woeful logging situation, we won't miss 10 seconds of frames
MAXIMUM_TIME_JUMP_BETWEEN_FRAMES = (10 * 1000000),
Expand Down Expand Up @@ -542,7 +542,7 @@ var FlightLogParser = function(logData) {

lineStart = stream.pos;

for (; stream.pos < lineStart + 2048 && stream.pos < stream.end; stream.pos++) {
for (; stream.pos < lineStart + 4096 && stream.pos < stream.end; stream.pos++) {
if (separatorPos === false && stream.data[stream.pos] == COLON)
separatorPos = stream.pos;

Expand Down

0 comments on commit 29ab123

Please sign in to comment.