Skip to content

Commit

Permalink
feat: delete floors in search engine when purge hole
Browse files Browse the repository at this point in the history
  • Loading branch information
JingYiJun committed Nov 15, 2023
1 parent 3993c4b commit 4a5c8d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apis/hole/purge_hole.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ func purgeHole() (err error) {
return err
}

// delete floor in search engine
go BulkDelete(floorIDs)

// log
log.Info().
Ints("hole_ids", holeIDs).
Expand Down

0 comments on commit 4a5c8d1

Please sign in to comment.