Another exclusion for presaving

This commit is contained in:
David Dworken 2023-09-24 14:19:11 -07:00
parent 1a144e4e70
commit e92c702402
No known key found for this signature in database

View File

@ -155,7 +155,7 @@ func presaveHistoryEntry(ctx context.Context) {
entry.EndTime = time.Unix(0, 0).UTC()
// Skip saving references to presaving
if strings.Contains(entry.Command, "presaveHistoryEntry") {
if strings.Contains(entry.Command, "presaveHistoryEntry") || strings.Contains(entry.Command, "__history_control_r") {
return
}