Skip to content

Commit

Permalink
feat: increase expiration time
Browse files Browse the repository at this point in the history
As we indicate that vehicles are old after one min, we can increase the expiration time.
  • Loading branch information
Fredrikbjornland committed Nov 19, 2024
1 parent 38f17b6 commit df6349e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ADSB/ADSBVehicle.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class ADSBVehicle : public QObject


static constexpr qint64 oldSignalMs = 60000; ///< timeout with no update in ms after which the vehicle is marked as .
static constexpr qint64 expirationTimeoutMs = 120000; ///< timeout with no update in ms after which the vehicle is removed.
static constexpr qint64 expirationTimeoutMs = 240000; ///< timeout with no update in ms after which the vehicle is removed.
///< AirMap sends updates for each vehicle every second.
};

Expand Down

0 comments on commit df6349e

Please sign in to comment.