WithoutAutostart prevents starting the allocator when it is initialized
()
| 426 | |
| 427 | // WithoutAutostart prevents starting the allocator when it is initialized |
| 428 | func WithoutAutostart() AllocatorOption { |
| 429 | return func(a *Allocator) { a.disableAutostart = true } |
| 430 | } |
| 431 | |
| 432 | // WithSyncInterval configures the interval for local keys refresh. |
| 433 | func WithSyncInterval(interval time.Duration) AllocatorOption { |
no outgoing calls
searching dependent graphs…