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 Nov 23, 2023
1 parent b339dbb commit 9661c40
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 9661c40

Please sign in to comment.