Downgrade logs to debug to prevent spam
This commit is contained in:
parent
07044f2dff
commit
f4219fe0b2
3 changed files with 3 additions and 3 deletions
|
@ -366,7 +366,7 @@ func assignQueuedTasks(ctx context.Context) error {
|
||||||
return fmt.Errorf("Error Querying Worker Task Count: %w", err)
|
return fmt.Errorf("Error Querying Worker Task Count: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
slog.Info("Assigning Queued Tasks Worker", "worker", i, "count", count)
|
slog.Debug("Assigning Queued Tasks Worker", "worker", i, "count", count)
|
||||||
|
|
||||||
// Allow for Multiple Tasks at once in the future
|
// Allow for Multiple Tasks at once in the future
|
||||||
if count < 1 {
|
if count < 1 {
|
||||||
|
|
|
@ -129,7 +129,7 @@ func readMessage(ctx context.Context, c *websocket.Conn) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
slog.InfoContext(ctx, "Got Websocket Message", "type", t.String(), "data", data)
|
slog.DebugContext(ctx, "Got Websocket Message", "type", t.String(), "data", data)
|
||||||
rpcServer.HandleMessage(ctx, c, data)
|
rpcServer.HandleMessage(ctx, c, data)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -116,7 +116,7 @@ func readMessage(ctx context.Context, c *websocket.Conn) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
slog.InfoContext(ctx, "Got Websocket Message", "type", t.String(), "data", data)
|
slog.DebugContext(ctx, "Got Websocket Message", "type", t.String(), "data", data)
|
||||||
rpcServer.HandleMessage(ctx, c, data)
|
rpcServer.HandleMessage(ctx, c, data)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue