File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -132,10 +132,12 @@ public bool Capture(
132132 bool sendFeatureFlags )
133133 {
134134 // Check for custom timestamp in properties
135- var timestamp = properties ? . TryGetValue ( "timestamp" , out var timestampValue ) == true &&
135+ var timestamp = properties ? . TryGetValue ( "timestamp" , out var timestampValue ) == true &&
136136 ( timestampValue is DateTimeOffset customTimestampOffset || timestampValue is DateTime customTimestamp )
137- ? timestampValue is DateTimeOffset dtOffset ? dtOffset : new DateTimeOffset ( ( DateTime ) timestampValue )
138- : _timeProvider . GetUtcNow ( ) ;
137+ ? timestampValue is DateTimeOffset dtOffset
138+ ? dtOffset
139+ : new DateTimeOffset ( ( DateTime ) timestampValue )
140+ : _timeProvider . GetUtcNow ( ) ;
139141
140142 var capturedEvent = new CapturedEvent (
141143 eventName ,
@@ -324,7 +326,8 @@ public async Task<bool> IsFeatureEnabledAsync(
324326 {
325327 // We need to fire and forget the compaction because it can be expensive.
326328 _taskScheduler . Run (
327- ( ) => _featureFlagCalledEventCache . Compact ( _options . Value . FeatureFlagSentCacheCompactionPercentage ) ,
329+ ( ) => _featureFlagCalledEventCache . Compact (
330+ _options . Value . FeatureFlagSentCacheCompactionPercentage ) ,
328331 cancellationToken ) ;
329332 }
330333
You can’t perform that action at this time.
0 commit comments