BHTOM-Team / bhtom2

6 stars 2 forks source link

Updating Sun Distance and last MJD should be a microservice #81

Closed wyrzykow closed 11 months ago

wyrzykow commented 1 year ago

Fields sundistance and priority depend on the current time. Now they are computed every time we render the target list, which slows down the list rendering. They should be computed separately in a microservice with high frequency, but 1 day should be enough. Only lastmjd (and last filter) should be updated every time we add new data, so in the Update/CheckForNewData process and after fits/cat upload. Now it reads the full light curve of each target, which slows things down.

wyrzykow commented 1 year ago

connected to #63