forked from External/ergo
refactor rehash to rely more on server.config
This commit is contained in:
parent
1a5db02236
commit
1383190249
11 changed files with 135 additions and 233 deletions
|
|
@ -32,7 +32,7 @@ type WhoWas struct {
|
|||
}
|
||||
|
||||
// NewWhoWasList returns a new WhoWasList
|
||||
func NewWhoWasList(size uint) *WhoWasList {
|
||||
func NewWhoWasList(size int) *WhoWasList {
|
||||
return &WhoWasList{
|
||||
buffer: make([]WhoWas, size),
|
||||
start: -1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue