[INSTRM-914] ensure data timer period is suitable with sql time lag Created: 05/Mar/20  Updated: 11/Mar/20  Resolved: 11/Mar/20

Status: Done
Project: Instrument control development
Component/s: ics_sps_engineering_plotData
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: arnaud.lefur Assignee: arnaud.lefur
Resolution: Done Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

each data is refreshed thank to a dedicated timer, this period is now fixed to 2.5 sec.
it's totally fine when request react fast, usually ~1msec.

But it happen that these requests are much slower, then the timer period is too short, causing the window to more or less freeze. 

This period could be tweaked, a moving average of the last sql latencies multiply by a fixed factor ?

 

 

 


Generated at Sat Feb 10 16:29:57 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.