Tasks runs quite long and uses a lot of memory

Sorry, I’ve been playing catch-up with a few other projects and haven’t been able to answer sooner. There have been reports of tasks.lastSuccess() not working:

I have also duplicated the behavior locally. I’m guessing this has something to do on the InfluxDB side rather than the Flux side and there haven’t been any issues created about it on the InfluxDB repo, so I went ahead and created one: Flux tasks.lastSuccess function does not return the last successful runtime of a task · Issue #25384 · influxdata/influxdb · GitHub

Hopefully this will get resolved soon.