Skip to content

Commit

Permalink
fixup! perf: add tracing tasks and regions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan1993spb committed Apr 9, 2024
1 parent 79200c2 commit 30863f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (c *Core) SetOne(ctx context.Context, gameId, bots int) (map[int]int, error
}

func (c *Core) GetState(ctx context.Context) map[int]int {
ctx, task := trace.NewTask(ctx, "GetState")
_, task := trace.NewTask(ctx, "GetState")
defer task.End()

c.mux.Lock()
Expand Down

0 comments on commit 30863f4

Please sign in to comment.