Find Earliest Error in Queue Errors

I’m trying to find the earliest time when an error occurred in my queue. MyQueue.errors() returns errors with invalidatedAt, but the only arguments to the function are filter, include, and limit. There are 1086154 errors in my queue.

All the InvalidationQueue errors go into InvalidationQueueError type and you can use fetch function to achieve this.

1 Like