getInfo service times out too soon

This commit is contained in:
Francisco Gindre 2021-06-16 19:45:30 -03:00
parent e56779b9ee
commit a1615767ea
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ extension LightWalletGRPCService: LightWalletService {
}
public func getInfo(result: @escaping (Result<LightWalletdInfo, LightWalletServiceError>) -> Void) {
compactTxStreamer.getLightdInfo(Empty(), callOptions: Self.callOptions(timeLimit: .timeout(.seconds(3)))).response.whenComplete { r in
compactTxStreamer.getLightdInfo(Empty(), callOptions: Self.callOptions(timeLimit: .timeout(.seconds(5)))).response.whenComplete { r in
switch r {
case .success(let info):
result(.success(info))