feat: migrate runtime to postgresql

This commit is contained in:
2026-04-29 18:47:12 +08:00
parent 49d893f29b
commit 8132466c5d
17 changed files with 2347 additions and 306 deletions
@@ -46,8 +46,8 @@ public sealed class SystemLogService : ISystemLogService
}
catch (Exception ex) when (!cancellationToken.IsCancellationRequested)
{
// Logging must be best-effort. If SQLite is locked/full, throwing from here
// causes the scheduler to turn a log persistence failure into an email storm.
// Logging must be best-effort. Throwing from here would turn a log
// persistence hiccup into user-visible scheduling failures and noisy alerts.
_logger.LogWarning(
ex,
"System log write failed. Category={Category}; Message={Message}; LiveRoomId={LiveRoomId}; RecordSessionId={RecordSessionId}; RecordTaskId={RecordTaskId}",