Skip to content

Commit

Permalink
fix: closing mongo cursor in while fetching merged urls from db
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoBeeAkto committed Sep 21, 2024
1 parent 4c3c5a5 commit 4d9fda4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/dao/src/main/java/com/akto/dao/filter/MergedUrlsDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public Set<MergedUrls> getMergedUrls() {
mergedUrls.add(mergedUrlsObj);
}

cursor.close();

return mergedUrls;
}

Expand Down

0 comments on commit 4d9fda4

Please sign in to comment.