We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fd36b9 commit 9eeac75Copy full SHA for 9eeac75
datafeed-cache-server/src/vatsim/datafeed.rs
@@ -45,7 +45,7 @@ impl DatafeedExt for Datafeed {
45
46
let now = Utc::now().sub(TimeDelta::minutes(2));
47
if self.pilots.len() == 0
48
- || previous.pilots.len() - self.pilots.len() > 500
+ || previous.pilots.len() >= self.pilots.len() + 400
49
|| *same_timestamp_count > 5
50
|| (*same_timestamp_count > 0 && previous.general.update_timestamp < now)
51
{
0 commit comments