Skip to content

Commit

Permalink
delay MODIFIED events same as FOUND events
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Oct 23, 2024
1 parent 4c15882 commit 6b4a902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/cryostat/targets/Target.java
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ void postPersist(Target target) {

@PostUpdate
void postUpdate(Target target) {
notify(EventKind.MODIFIED, target);
scheduler.schedule(() -> notify(EventKind.MODIFIED, target), 1, TimeUnit.SECONDS);
}

@PostRemove
Expand Down

0 comments on commit 6b4a902

Please sign in to comment.