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 <33684988+xiaoguolong@users.noreply.github.com>
  • Loading branch information
xiaoguolong authored and tomsun28 committed Jan 16, 2024
1 parent 1f68acf commit f65ae4b
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 f65ae4b

Please sign in to comment.