Fix semaphore
This commit is contained in:
parent
9fcf1756ef
commit
623a226816
@ -6,7 +6,7 @@ try LoggingSystem.bootstrap(from: &env)
|
||||
let app = Application(env)
|
||||
defer { app.shutdown() }
|
||||
|
||||
private let semaphore = DispatchSemaphore(value: 1)
|
||||
private let semaphore = DispatchSemaphore(value: 0)
|
||||
Task {
|
||||
try await configure(app)
|
||||
semaphore.signal()
|
||||
|
Loading…
Reference in New Issue
Block a user