[
https://issues.apache.org/jira/browse/TUBEMQ-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17054261#comment-17054261
]
Guocheng Zhang commented on TUBEMQ-43:
--------------------------------------
I append the check logic: the value of DeletePolicy must like
"\{method},\{digital}[s|m|h]", the method only supports delete, and the valid
duration must be greater than 0 and less than or equal to 168h
> Add DeletePolicy's value check
> ------------------------------
>
> Key: TUBEMQ-43
> URL: https://issues.apache.org/jira/browse/TUBEMQ-43
> Project: Apache TubeMQ
> Issue Type: Improvement
> Reporter: Guocheng Zhang
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The value of DeletePolicy is a structured data content. When inputting this
> data, content check should be added to avoid inconsistency between the set
> value and the actual effective situation
--
This message was sent by Atlassian Jira
(v8.3.4#803005)