gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[reclaim-ui] 139/459: timeout


From: gnunet
Subject: [reclaim-ui] 139/459: timeout
Date: Fri, 11 Jun 2021 23:23:51 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.

commit 74d4f4c0a4dc251e8b19524dda356d583ff5e583
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Jul 16 17:47:44 2019 +0200

    timeout
---
 src/app/gns.service.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/gns.service.ts b/src/app/gns.service.ts
index 02ce57d..1028330 100644
--- a/src/app/gns.service.ts
+++ b/src/app/gns.service.ts
@@ -1,6 +1,6 @@
 import { Injectable } from '@angular/core';
 import { HttpClient } from '@angular/common/http';
-import { retry } from 'rxjs/operators';
+import { timeout } from 'rxjs/operators';
 
 
 import { ConfigService } from './config.service';
@@ -12,6 +12,6 @@ export class GnsService {
 
   getClientName(client_id) {
     return this.http.get<any>(this.config.get().apiUrl
-      + '/gns/' + client_id + '?record_type=RECLAIM_OIDC_CLIENT');
+      + '/gns/' + client_id + 
'?record_type=RECLAIM_OIDC_CLIENT').pipe(timeout(30000));
   }
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]