David B
05/20/2021, 11:24 PMResultSet.each() for the first 4000 results and ResultSet.getRange(…) thereafter, which was hitting SSS_USAGE_LIMIT_EXCEEDED after 3 minutes. Changed it into a paginated search, and it completed in 12 secondsDavid B
05/20/2021, 11:28 PMPagedData.fetch(options) 5 units (max 1000 results per page)
ResultSet.each(callback) 10 units (limited first 4000 results)
ResultSet.getRange(options) 10 units (max 1000 results)David B
05/20/2021, 11:29 PM