13ec9c5dbf
* Add a benchmark for exiration.Restore * Add benchmarks for consul Restore functions * Add a parallel version of expiration.Restore * remove debug code * Up the MaxIdleConnsPerHost * Add tests for etcd * Return errors and ensure go routines are exited * Refactor inmem benchmark * Add s3 bench and refactor a bit * Few tweaks * Fix race with waitgroup.Add() * Fix waitgroup race condition * Move wait above the info log * Add helper/consts package to store consts that are needed in cyclic packages * Remove not used benchmarks
8 lines
187 B
Go
8 lines
187 B
Go
package consts
|
|
|
|
const (
|
|
// ExpirationRestoreWorkerCount specifies the numer of workers to use while
|
|
// restoring leases into the expiration manager
|
|
ExpirationRestoreWorkerCount = 64
|
|
)
|