Observing Lseg-data API getting slower after 3pm UTC.
There are occasional exceptions thrown when calling lseg.data.get_data() function. Exceptions listed below
- lseg.data._errors.LDError: [WinError 10061] No connection could be made because the target machine actively refused it
- lseg.data._errors.LDError: Asynchronous Query library internal error.
- lseg.data._errors.LDError: timed out
We have also seen logs where the response took around an hour, is this expected? shouldn't the request have timed out in such case? Is there a way for lseg.data.get_data() to timeout if it is taking more than a configured amount of time to respond?
Is there any known time period of the day when the API is expected to be slow? We don't encounter above issues if same API with same param are called during the first half of the day or before 3pm UTC.