Skip to content

Commit a29fd96

Browse files
committed
TEMP: Trying to understand the review changesets
1 parent 34583e6 commit a29fd96

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

app/models/patient_import.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ def process!
8080

8181
review_changesets =
8282
if Flipper.enabled?(:pds) && Flipper.enabled?(:pds_search_during_import)
83+
# TODO: I don't think this makes sense because if we're here and if
84+
# there were any `changesets.with_postcode` then we would've
85+
# returned early on line 72.
86+
# Unless it's a way of avoiding queuing up jobs for
87+
# `changesets.without_postcode` because that would've already
88+
# happened in the block starting on line 55
8389
changesets.with_postcode
8490
else
8591
changesets

0 commit comments

Comments
 (0)