Skip to content

Commit

Permalink
style: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
GIOSDK authored and YoloMao committed May 31, 2024
1 parent 77382f6 commit eaa26ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Modules/Preflight/GrowingNetworkPreflight.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ + (instancetype)sharedInstance {

- (void)growingModInit:(GrowingContext *)context {
[[GrowingEventManager sharedInstance] addInterceptor:self];

[GrowingEventRequestAdapters.sharedInstance addAdapter:GrowingPFEventRequestAdapter.class];

GrowingTrackConfiguration *trackConfiguration = GrowingConfigurationManager.sharedInstance.trackConfiguration;
NSString *dataCollectionServerHost = trackConfiguration.dataCollectionServerHost;
self.dataCollectionServerHost = dataCollectionServerHost;
Expand All @@ -82,12 +82,12 @@ - (void)growingModInit:(GrowingContext *)context {
self.status = GrowingNWPreflightStatusClosed;
}
}

NSTimeInterval dataUploadInterval = trackConfiguration.dataUploadInterval;
dataUploadInterval = MAX(dataUploadInterval, 5);
self.minPreflightTime = dataUploadInterval;
self.nextPreflightTime = dataUploadInterval;

[GrowingNetworkPreflight sendPreflight];
}

Expand Down

0 comments on commit eaa26ec

Please sign in to comment.