feat: setup logs retention by max file size
This commit is contained in:
1 parent
70c8492f4f
commit
f914eae3c5
44 files changed
+2316
-161
No files matched your search
@@ -322,8 +322,10 @@ describe('Response samples use the real domain JSON keys', () => {
|
||||
expect(keysOf(parsed(find('GET /v1/settings')))).toEqual([
|
||||
'activity_last_cleanup_at',
|
||||
'activity_last_cleanup_removed',
|
||||
'activity_log_size_bytes',
|
||||
'activity_next_cleanup_at',
|
||||
'activity_retention_days',
|
||||
'activity_retention_max_gb',
|
||||
'version',
|
||||
])
|
||||
})
|
||||
|
||||
@@ -722,6 +722,8 @@ export const API_GROUPS: ApiGroup[] = [
|
||||
json({
|
||||
version: 'v3.0.0-beta',
|
||||
activity_retention_days: 90,
|
||||
activity_retention_max_gb: 5,
|
||||
activity_log_size_bytes: 3435973837,
|
||||
activity_last_cleanup_at: '2026-09-10T03:00:00Z',
|
||||
activity_last_cleanup_removed: 12,
|
||||
activity_next_cleanup_at: '2026-09-11T03:00:00Z',
|
||||
|
||||
Reference in new issue
Block a user