Merge remote-tracking branch 'upstream/main'
This commit is contained in:
@@ -408,6 +408,8 @@ sudo systemctl status redis
|
||||
|
||||
Sub2API supports TLS fingerprint simulation to make requests appear as if they come from the official Claude CLI (Node.js client).
|
||||
|
||||
> **💡 Tip:** Visit **[tls.sub2api.org](https://tls.sub2api.org/)** to get TLS fingerprint information for different devices and browsers.
|
||||
|
||||
### Default Behavior
|
||||
|
||||
- Built-in `claude_cli_v2` profile simulates Node.js 20.x + OpenSSL 3.x
|
||||
|
||||
@@ -305,6 +305,27 @@ dashboard_aggregation:
|
||||
# 日聚合保留天数
|
||||
daily_days: 730
|
||||
|
||||
# =============================================================================
|
||||
# Usage Cleanup Task Configuration
|
||||
# 使用记录清理任务配置(重启生效)
|
||||
# =============================================================================
|
||||
usage_cleanup:
|
||||
# Enable cleanup task worker
|
||||
# 启用清理任务执行器
|
||||
enabled: true
|
||||
# Max date range (days) per task
|
||||
# 单次任务最大时间跨度(天)
|
||||
max_range_days: 31
|
||||
# Batch delete size
|
||||
# 单批删除数量
|
||||
batch_size: 5000
|
||||
# Worker interval (seconds)
|
||||
# 执行器轮询间隔(秒)
|
||||
worker_interval_seconds: 10
|
||||
# Task execution timeout (seconds)
|
||||
# 单次任务最大执行时长(秒)
|
||||
task_timeout_seconds: 1800
|
||||
|
||||
# =============================================================================
|
||||
# Concurrency Wait Configuration
|
||||
# 并发等待配置
|
||||
|
||||
Reference in New Issue
Block a user