diff options
author | Valery Piashchynski <[email protected]> | 2021-06-13 16:42:36 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-13 16:42:36 +0300 |
commit | 9fd01b07ecae6e68dd0ed8be6be5f8c0228771cb (patch) | |
tree | b170b08ec0460b1dd815875236bf1890af9f7939 /pkg/worker/state.go | |
parent | 54c3553cc39df4eae92d1f2c8c428e625f32f41a (diff) |
- Optimize sync_worker payload exec
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/worker/state.go')
-rwxr-xr-x | pkg/worker/state.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/worker/state.go b/pkg/worker/state.go index 9c4543c8..bf152e8b 100755 --- a/pkg/worker/state.go +++ b/pkg/worker/state.go @@ -44,7 +44,7 @@ type StateImpl struct { lastUsed uint64 } -// Thread safe +// NewWorkerState initializes a state for the sync.Worker func NewWorkerState(value int64) *StateImpl { return &StateImpl{value: value} } |