ensure memory is aligned

fix https://github.com/seaweedfs/seaweedfs/issues/3427
This commit is contained in:
chrislu
2022-08-10 22:27:13 -07:00
parent 670cb759f8
commit ae93c966d9
3 changed files with 7 additions and 7 deletions

View File

@@ -50,10 +50,10 @@ func (c *LimitedConcurrentExecutor) Execute(job func()) {
type OperationRequest func()
type LimitedOutOfOrderProcessor struct {
processorSlots uint32
processors []chan OperationRequest
processorLimit int32
processorLimitCond *sync.Cond
processorSlots uint32
processors []chan OperationRequest
currentProcessor int32
}