mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-22 23:08:50 +08:00
Increase timeout
This commit is contained in:
parent
1a1ac34a3a
commit
5431c36643
1 changed files with 3 additions and 2 deletions
|
@ -77,10 +77,11 @@ private class Release {
|
|||
listener.newConnectionHandler = didAccept(conn:)
|
||||
listener.start(queue: .global())
|
||||
|
||||
let timeout = DispatchTime.now() + DispatchTimeInterval.seconds(5)
|
||||
let seconds = 15
|
||||
let timeout = DispatchTime.now() + DispatchTimeInterval.seconds(seconds)
|
||||
|
||||
if semaphore.wait(timeout: timeout) == .timedOut {
|
||||
fatalError("waited for connection for more than 5s")
|
||||
fatalError("waited for connection for more than \(seconds)s")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue