mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
feat: Fine-tune logs presentation (#6771)
* Process debug mode logs * Debug logs are grey * Fix
This commit is contained in:
@ -347,7 +347,8 @@ func (api *API) followProvisionerJobLogs(actor rbac.Subject, jobID uuid.UUID) (<
|
||||
logger := api.Logger.With(slog.F("job_id", jobID))
|
||||
|
||||
var (
|
||||
bufferedLogs = make(chan *database.ProvisionerJobLog, 128)
|
||||
// With debug logging enabled length = 128 is insufficient
|
||||
bufferedLogs = make(chan *database.ProvisionerJobLog, 1024)
|
||||
endOfLogs atomic.Bool
|
||||
lastSentLogID atomic.Int64
|
||||
)
|
||||
|
Reference in New Issue
Block a user