Skip to content

Commit

Permalink
Make installSwiftBacktrace public before we remove it (#1006)
Browse files Browse the repository at this point in the history
This allows people to disable it; 

We'll want to remove the dependency in general though - and only enable it in tests for example.
  • Loading branch information
ktoso authored Jul 15, 2022
1 parent 47d3eee commit 5d0057c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/DistributedActors/ClusterSystemSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public struct ClusterSystemSettings {

/// Installs a global backtrace (on fault) pretty-print facility upon actor system start.
@available(*, deprecated, message: "Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users")
internal var installSwiftBacktrace: Bool = true
public var installSwiftBacktrace: Bool = true

// FIXME: should have more proper config section
public var threadPoolSize: Int = ProcessInfo.processInfo.activeProcessorCount
Expand Down

0 comments on commit 5d0057c

Please sign in to comment.