AtlasOfLivingAustralia / webapi

Atlas Web service API app
https://api.ala.org.au
1 stars 6 forks source link

Make heartbeat cron schedule configurable #20

Open ansell opened 6 years ago

ansell commented 6 years ago

The heartbeat queries are putting a non-trivial load on biocache-service. It would be great if they were configurable instead of a hardcoded once per hour so we can experiment with the timings:

https://github.com/AtlasOfLivingAustralia/webapi/blob/master/grails-app/jobs/au/org/ala/webapi/HeartbeatJob.groovy#L7

I have temporarily locked them out of both biocache-service and bie using the "Heart" part of the user agent.