scimma / blast

Django web app for the automatic characterization of supernova hosts
MIT License
1 stars 2 forks source link

put in a rate-limit on NED queries #228

Closed djones1040 closed 6 months ago

djones1040 commented 6 months ago

Fixes # .

Description of the Change

Checklist

Please check all that apply to your proposed changes

Additional context

manning-ncsa commented 6 months ago

@djones1040 @alexandergagliano The GHOST library is effectively bypassing the NED rate limit you added. Even if we throttle the getTransientHosts() call in ghost.py, when it is invoked, more than one NED query per second is executed by GHOST. Given that the new workflow-based processing will run tasks much faster, we will need to fork astro_ghost again to implement this throttle until we can create and merge a fix upstream.