Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
number571 committed Nov 25, 2024
1 parent 01062c4 commit b6e5c00
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pkg/network/anonymity/queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ func NewQBProblemProcessor(pSettings ISettings, pClient client.IClient) IQBProbl
fSettings: pSettings,
fClient: pClient,
fMainPool: &sMainPool{
fQueue: make(chan net_message.IMessage, queuePoolCap[0]*consumersCap),
fQueue: make(chan net_message.IMessage, queuePoolCap[0]*consumersCap),
fConsumers: make(map[string]uint64, 64),
fRawQueue: func() map[uint64]chan []byte {
m := make(map[uint64]chan []byte, consumersCap)
for i := uint64(0); i < consumersCap; i++ {
m[i] = make(chan []byte, queuePoolCap[0])
}
return m
}(),
fConsumers: make(map[string]uint64, 256),
},
fRandPool: &sRandPool{
fQueue: make(chan net_message.IMessage, queuePoolCap[1]),
Expand Down
2 changes: 1 addition & 1 deletion test/result/badge_coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions test/result/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b6e5c00

Please sign in to comment.