Skip to content

Commit

Permalink
add usage comment for no_broadcast_crud_event
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshuebner committed Nov 30, 2023
1 parent a5bdd07 commit 36abf74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kong/db/dao/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1466,6 +1466,7 @@ function DAO:post_crud_event(operation, entity, old_entity, options)
invalidate(operation, options.workspace, self.schema.name, entity, old_entity)

if options and options.no_broadcast_crud_event then
-- This option is set when we write an audit record or when importing a database.
return
end

Expand Down

0 comments on commit 36abf74

Please sign in to comment.