Skip to content

Commit

Permalink
Increase ULOG download rate
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmnet committed Jun 18, 2021
1 parent 6d7855d commit 67af500
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public void requestLastLog() {
props.getProgressProperty().set(0);
props.getLogLoadedProperty().set(false);

timeout = wq.addCyclicTask("LP",5,() -> {
timeout = wq.addCyclicTask("LP",100,() -> {

switch (state) {
case IDLE:
Expand All @@ -184,7 +184,8 @@ public void requestLastLog() {
abortReadingLog();
return;
}
if(searchForNextUnreadPackage())
int c = 0;
while(searchForNextUnreadPackage() && c++ < 7)
requestDataPackages(chunk_offset * LOG_PACKAG_DATA_LENGTH, chunk_size * LOG_PACKAG_DATA_LENGTH);
break;
}
Expand Down

0 comments on commit 67af500

Please sign in to comment.