How to check client connection. #2664
-
Sorry. I'm pulling data from a queue. `$redisQueue = new RedisQueue($cloudWatchConfig['cloud_watch_queue']['database'], $cloudWatchConfig['cloud_watch_queue']['config_redis']);
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @huylong, thanks for opening this discussion. The only way that we provide to know if a connection will work, when using a SDK client and from a SDK perspective, is by actually doing an operation with the client, and this means that you need to initialize it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Hi @huylong, thanks for opening this discussion. The only way that we provide to know if a connection will work, when using a SDK client and from a SDK perspective, is by actually doing an operation with the client, and this means that you need to initialize it.
Thanks!