@george1421 Thanks, but I still think a more elegant solution would be to be able to purge old tasks from the database, that way instead of returning 1600+ results, the API call would only return a few hundred, and memory wouldn’t be a problem.
I can’t work out how to do this via the Fog GUI - Tasks only shows active tasks, not historic ones. Or am I not looking in the right place?
I don’t understand why old tasks are being kept in the database if I can’t interact with them in any way?
Worst case maybe I can run a SQL DELETE command and purge that way? Any idea if this would have any negative impact?
Or ideally - one for the devs - perhaps Fog could have an option to periodically delete old tasks from the database, or only store maybe x days worth of old tasks?
Thanks for the help so far everyone!