Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nickybondarenko committed Jul 16, 2024
1 parent b1da939 commit 850bce5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ struct ConfidenceDemoApp: App {
WindowGroup {
let secret = ProcessInfo.processInfo.environment["CLIENT_SECRET"] ?? ""
let confidence = Confidence.Builder(clientSecret: secret, loggerLevel: .TRACE)
.withTimeout(timeout: 0.001)
.withContext(initialContext: ["targeting_key": ConfidenceValue(string: UUID.init().uuidString)])
.build()

Expand Down
2 changes: 1 addition & 1 deletion Sources/Confidence/ConfidenceClientOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct ConfidenceClientOptions {
credentials: ConfidenceClientCredentials,
region: ConfidenceRegion? = nil,
initializationStrategy: InitializationStrategy = .fetchAndActivate,
timeoutIntervalForRequest: Double = 0
timeoutIntervalForRequest: Double
) {
self.credentials = credentials
self.region = region ?? .global
Expand Down

0 comments on commit 850bce5

Please sign in to comment.