mirror of
https://github.com/swift-server/swift-service-lifecycle
synced 2026-11-28 05:14:32 +00:00
Update ServiceLifecycle.Configuration comments (#58)
It seems to me that the comments of shutdownSignal and installBacktrace were inverted, I apologize in advance if I misunderstood something.
This commit is contained in:
1 parent
5ad999203c
commit
eb685b6fa1
1 file changed
+2
-2
@@ -227,9 +227,9 @@ extension ServiceLifecycle {
|
||||
public var logger: Logger
|
||||
/// Defines the `DispatchQueue` on which startup and shutdown callback handlers are run.
|
||||
public var callbackQueue: DispatchQueue
|
||||
/// Defines if to install a crash signal trap that prints backtraces.
|
||||
public var shutdownSignal: [Signal]?
|
||||
/// Defines what, if any, signals to trap for invoking shutdown.
|
||||
public var shutdownSignal: [Signal]?
|
||||
/// Defines if to install a crash signal trap that prints backtraces.
|
||||
public var installBacktrace: Bool
|
||||
|
||||
public init(logger: Logger = Logger(label: "Lifecycle"),
|
||||
|
||||
Reference in new issue
Block a user