Skip to content

Commit ccb69df

Browse files
committed
use default timeouts
1 parent 361b68d commit ccb69df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Core.ServiceMesh/Internal/ServiceMeshWorker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public async ValueTask<T> RequestAsync<T>(string subject, object[] args, Type[]
117117
var res = await nats.RequestAsync<byte[], byte[]>(subject,
118118
body, replyOpts: new NatsSubOpts
119119
{
120-
Timeout = TimeSpan.FromSeconds(30)
120+
//Timeout = TimeSpan.FromSeconds(30)
121121
}, headers: headers);
122122

123123
res.EnsureSuccess();
@@ -157,7 +157,7 @@ public async ValueTask RequestAsync(string subject, object[] args, Type[] generi
157157
var res = await nats.RequestAsync<byte[], byte[]>(subject,
158158
body, replyOpts: new NatsSubOpts
159159
{
160-
Timeout = TimeSpan.FromSeconds(30)
160+
//Timeout = TimeSpan.FromSeconds(30)
161161
}, headers: headers);
162162

163163
res.EnsureSuccess();

0 commit comments

Comments
 (0)