React/ThingHTTP adding 1 minute every hour
Hi guys,
I'm using Thingspeak to log data for my small weather station project. The data then gets sent to an Airtable using React and ThingHTTP. When I check the exported CSV from Thingspeak I can see the data being logged at regular intervals — every 5 minutes, 3 seconds in. However, something happens with React/ThingHTTP, because the Airtable log doesn't match. Every hour or so, the entry will have an added minute (13:01, 17:01, etc). Why does this happen? React is programmed to use ThingHTTP whenever Field1 is different from 0.
4 Comments
Time DescendingThink of thingHTTPs that are triggered by React to be a queue of work. ThingSpeak has worker processes that pull tasks off the FIFO work queue and execute it. Occasionally, if there is a lot of work to be done and all the workers are busy, the work queue will back up and the task is executed when a worker becomes available. This may introduce some delay which explains what you are seeing.