PIC-IRIS / PH5

Library of PH5 clients, apis, and utilities
Other
15 stars 9 forks source link

store all responses read in a dictionary to use instead of checking i… #531

Closed damhuonglan closed 3 months ago

damhuonglan commented 4 months ago

What does this PR do?

Before PH5ResponseManager used function is_already_requested to skip reading response to improve performance. However the function doesn't check all parameters that make the tool only read the first response to use it for all later response when sensor model and das model aren't changed.

Bug is fixed by reading all responses and store in a dict to use when needed.

Relevant Issues?

closes #528

Checklist