jbrzusto / motusServer

R package to operate a server that processes data for https://motus.org
GNU General Public License v2.0
1 stars 0 forks source link

eliminate lag between registration of tag and ability to detect it #412

Closed jbrzusto closed 6 years ago

jbrzusto commented 6 years ago

Currently, we cache metadata such as tag registrations, and update them once per day from motus.org for these reasons:

The downside is a delay of up to 24 hours between the time a tag is registered and the time it is available for the tag-finder to detect in new runs of data on the sgdata server. This fails for users who want to register tags and then detect them in uploaded test data the same day. (However, those users can see live detections of newly-registered on a sensorgnome's web interface if they download and install the tag database which is generated on sgdata.motus.org when users register tags.)

Options for Improvement

or

jbrzusto commented 6 years ago

We'll do this on sgdata. refreshMotusMetaDBCache():

handleRegisterTags():

cleanTagRegistrations():

motusQuickTagReg():

jbrzusto commented 6 years ago

testing: