tencent cloud

All product documents
Tencent Cloud Observability Platform
Last updated: 2025-03-11 19:41:09
WS
Last updated: 2025-03-11 19:41:09
WS is the ws configuration in the global parameter configuration Option.

Field

Field
Type
Description
writeControlTimeout?
number
Optional; the timeout period for writing control instructions in milliseconds, defaults to 10s.
handshakeTimeout?
number
Optional; the timeout period for handshaking in milliseconds, defaults to 30s.
writeTimeout?
number
Optional; the timeout period for writing messages in milliseconds, which has no limit by default.
readTimeout?
number
Optional; the timeout period for reading messages in milliseconds, which has no limit by default.

Samples

Use WS option:
export const option = {
ws: {
writeControlTimeout: 10000,
handshakeTimeout: 10000,
writeTimeout: 3000,
readTimeout: 3000,
}
}

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon