It looks like it is not possible to use this package in several places with different values for MaxRetries. Also it is not concurrency safe to mutate this value if package is used from multiple goroutines - e.g. one might be setting MaxRetries value and another one will be reading without any synchronization.
It looks like it is not possible to use this package in several places with different values for
MaxRetries. Also it is not concurrency safe to mutate this value if package is used from multiple goroutines - e.g. one might be settingMaxRetriesvalue and another one will be reading without any synchronization.