Skip to content

Commit

Permalink
Merge branch 'main' into bump-of-010
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziodemaria authored Feb 6, 2024
2 parents c845437 + 485d09f commit 41fa7af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/ConfidenceProvider/ConfidenceFeatureProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public class ConfidenceFeatureProvider: FeatureProvider {
return
}

// signal the provider is ready right away
if self.initializationStrategy == .activateAndFetchAsync {
eventHandler.send(.ready)
}
Expand Down Expand Up @@ -184,8 +183,6 @@ public class ConfidenceFeatureProvider: FeatureProvider {
}

private func resolve(context: OpenFeature.EvaluationContext) async throws -> ResolvesResult {
// Racy: eval ctx and ctx in cache might differ until the latter is updated, resulting in STALE evaluations
eventHandler.send(ProviderEvent.stale)
do {
let resolveResult = try await client.resolve(ctx: context)
return resolveResult
Expand Down

0 comments on commit 41fa7af

Please sign in to comment.