Skip to content

Commit

Permalink
unlimit Alert.java content field length (#1351)
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoguolong <[email protected]>
  • Loading branch information
xiaoguolong authored Nov 23, 2023
1 parent db4ad57 commit 29a0045
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ public class Alert {
description = "告警通知实际内容",
example = "linux_192.134.32.1: 534543534 cpu usage high",
accessMode = READ_WRITE)
@Length(max = 2048)
@Column(length = 2048)
@Column(length = 4096)
private String content;

@Schema(title = "Alarm status: 0-normal alarm (to be processed) 1-threshold triggered but not reached the number of alarms 2-recovered alarm 3-processed",
Expand Down

0 comments on commit 29a0045

Please sign in to comment.