deepstreamIO / deepstream.io-client-js

The Browser / Node.js Client for deepstream.io
Other
294 stars 109 forks source link

DeepstreamClient - RPC ResponseTimeout #579

Closed mmartinsdev closed 2 years ago

mmartinsdev commented 2 years ago

Hi,

I upgrade my application from Deepstream 4.X to Depstream 6.X. .Previously, the constructor take rpcResponseTimeout properties. After the migration, I can't find this properties.

I have already defined this option in the server configuration YAML rpc: ackTimeout: 1000 responseTimeout: 300000

That's enough in 6.X version?

Thank-you

jaime-ez commented 2 years ago

Hi, yes, in previous versions the rpc timeouts where duplicated between server and client, and not syncronized, so the client might have called a timeout and not the server or viceversa.

Starting client v5.2.0 it is handled server side only as described in the changelog. Therefore the values you set on your server configuration are the only valid ones.

Cheers