You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add notification auto cleanup and timeout handling
1. Add fetchFirstEntity method to data accessor interfaces for
retrieving earliest notifications
2. Implement notification auto-cleanup feature that removes processed
notifications older than configured days
3. Add Timeout processed type for handling expired notifications
4. Add configuration option for notification cleanup days with default
value of 7 days
5. Implement cleanup timer that runs every second to check for expired
notifications
6. Update notification processing to handle timeout closures properly
feat: 添加通知自动清理和超时处理功能
1. 在数据访问器接口中添加 fetchFirstEntity 方法用于获取最早的通知
2. 实现通知自动清理功能,删除超过配置天数的已处理通知
3. 添加 Timeout 处理类型用于处理过期通知
4. 添加通知清理天数的配置选项,默认值为7天
5. 实现清理定时器,每秒检查一次过期通知
6. 更新通知处理逻辑以正确处理超时关闭
PMS: BUG-284979
QString cmd = QString("SELECT %1 FROM notifications2 WHERE (ProcessedType = :processedType OR ProcessedType IS NULL) ORDER BY CTime ASC LIMIT 1").arg(EntityFields.join(","));
0 commit comments