You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will incrementally pull results out of the database, instead of pulling everything out at once. Also, change callers of JpaDao.findAll() to operate in a way that doesn't put all of the results in a collection unnecessarily. For cases where it would be difficult to convert the caller to use stream operations, the stream can be converted to an iterator and still get the same benefits of using the stream directly.
Related, [GET] /jobs doesn't seem to be used since the jobs page uses /jobs-paged. To be clear [GET] /jobs is used by getJobsList() in services.js, but nothing uses getJobsList(). We should remove that function and endpoint.
The text was updated successfully, but these errors were encountered:
This will incrementally pull results out of the database, instead of pulling everything out at once. Also, change callers of
JpaDao.findAll()
to operate in a way that doesn't put all of the results in a collection unnecessarily. For cases where it would be difficult to convert the caller to use stream operations, the stream can be converted to an iterator and still get the same benefits of using the stream directly.Related,
[GET] /jobs
doesn't seem to be used since the jobs page uses/jobs-paged
. To be clear[GET] /jobs
is used bygetJobsList()
inservices.js
, but nothing usesgetJobsList()
. We should remove that function and endpoint.The text was updated successfully, but these errors were encountered: