genghisken / ps1

Pan-STARRS and ATLAS code
3 stars 0 forks source link

Add Pan-STARRS TNS registration daemon #144

Closed genghisken closed 4 years ago

genghisken commented 5 years ago

We need daemon code for registering PS objects onto the Transient Name Server as soon as an object is added to the good list (and the object has a PS name). This involves:

genghisken commented 5 years ago

Code has been created and rolled out. Note that ONLY objects promoted to the Good list from the individual object page are registered instantly. Objects promoted via quickview will wait for the periodic (hourly) TNS cleanup code to run.

Additionally, I fixed two bugs in the Pan-STARRS TNS registration code:

Additionally, unlike ATLAS, the daemon code will only attempt to register the object being promoted. It does not check the Good List for other objects that haven't yet been registered. The periodic cron job that registers unregistered objects in the Good List (e.g. promoted via quickview) should fix this.

genghisken commented 4 years ago

Daemons are now operational. Recently fixed a problem (NULL psf_inst_mag_sig) for YSE which crashed the daemon. Will roll this out to PSST.