question

Upvotes
Accepted
87 4 4 11

RequestTimeout of Consumer_2

hello:

The EmaConfig.xml I use is shown as follows.

Now I user Consumer_2, my questions are:

1、what is the default value of RequestTimeout, if there is no "RequestTimeout" segment under Consumer_2;

2、If I want to set "RequestTimeout" for Consumer_2, I only need add line26 under line 38?

3、as we know, the default value of RequestTimeout for Consumer_1 is 15s, I want to know why the RequestTimeout is so lang? the date trans on the net is fast.

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-api
ccccc.png (34.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 71 35 53

Please see answers below.

1. The default value of RequestTimeout is 15000 milliseconds (15 seconds). Therefore, if it doesn't present in the configuration, the default value (15 seconds) will be used

2. Yes, to set "RequestTimeout" for Consumer_2, you need to add RequestTimeout inside the Consumer_2. Adding the RequestTimeout configuration under line 38 is okay

3. There are a lot of factors (number of items, network bandwidth, machine performance, and application logic) regarding the value of RequestTimeout. For a few items, 15 seconds may be too long. However, for thousands of items, the value may need to be increased

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea