Indexical-Metrics-Measure-Advisory / watchmen-web-client

MIT License
109 stars 18 forks source link

data is not synchronized when saving in queued #3

Open botlikes456 opened 2 years ago

botlikes456 commented 2 years ago

when subject is changed and switch to report view, subject definition might be changed already, and since subject saving is automatically and frequently, subject data might still not submit to server side. which will cause report data fetch failed (server side error, typically).

and in this case, an unmount monitor for saving queue is added, it will submit the changed data to server side immediately when route changed. but it still cannot avoid above exception.

seems have to wait for saving response when switch route between connected space, subject and report.

dashboard and pipeline graphics share the same mechanism, since they have no route switch issue, works better now.

botlikes456 commented 2 years ago

have no schedule for fix this now since it is led by an unusually operation.

botlikes456 commented 2 years ago

adjust the saving wait to 2000 default now