Skip to content

Commit

Permalink
0004333: Monitor events purge by time when resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed May 17, 2021
1 parent c67d337 commit b94ceda
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ public PurgeServiceSqlMap(IDatabasePlatform platform, Map<String, String> replac

putSql("deleteRegistrationRequestSql", "delete from $(registration_request) where status in (?,?,?) and last_update_time < ?");

putSql("deleteMonitorEventSql", "delete from $(monitor_event) where event_time < ?");
putSql("deleteMonitorEventSql", "delete from $(monitor_event) where event_time < ? and is_resolved = 1");

putSql("minOutgoingBatchId", "select min(batch_id) from $(outgoing_batch)");

Expand Down

0 comments on commit b94ceda

Please sign in to comment.