ensure memory is aligned
fix https://github.com/seaweedfs/seaweedfs/issues/3427
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user