mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-05 03:56:26 +03:00
HOTFIX: increasing 30.sec timeout to 300.sec (#462)
* HOTFIX: increasing 30.sec timeout to 300.sec this to fix SQL-backed ledger tests that currently keep timing out. It is NOT really a fix, but a temp work-around. Tried to get rid of this timeout, but it propogates all over the place. Need a separate story to address this * HOTFIX: adding a link to the issue
This commit is contained in:
parent
0f2ac2d06d
commit
1dfbdb903e
@ -11,7 +11,8 @@ import scala.util.control.NoStackTrace
|
||||
|
||||
trait FutureTimeouts {
|
||||
|
||||
protected def timeout[T](f: Future[T], opName: String, duration: FiniteDuration = 30.seconds)(
|
||||
// TODO get rid of the default timeout, see issue: #464
|
||||
protected def timeout[T](f: Future[T], opName: String, duration: FiniteDuration = 300.seconds)(
|
||||
implicit system: ActorSystem): Future[T] = {
|
||||
val promise: Promise[T] = Promise[T]()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user