[Question] Can it be changed to a configurable item
Open
question
- Dominant language
- Java
- Stars
- 7.4k
- Forks
- 1.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 32
Description
### Question
由于 HistoryJpaDatabaseDataStorage.MAX_HISTORY_TABLE_RECORD ( `private static final int MAX_HISTORY_TABLE_RECORD = 20_000;` )的限制,
使用jpa或者mysql存储数据时,最大历史条数只能有20000条。导致历史记录只能记录很短的一个时间范围,能否把这个改成可配置项,由用户决定最大条数。
Contributor guide
Research direction
Start by locating HistoryJpaDatabaseDataStorage and its MAX_HISTORY_TABLE_RECORD constant, then trace how JPA and MySQL storage settings are loaded. Define what configuration controls the maximum history count and verify that the configured value determines retention for both storage paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mysql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100