|
|
|
@ -335,6 +335,7 @@ func (s *service) start(ctx context.Context) error { |
|
|
|
transport := &roundTripperFunc{ready: make(chan struct{})} |
|
|
|
transport := &roundTripperFunc{ready: make(chan struct{})} |
|
|
|
serverConfig.LoopbackClientConfig.Transport = transport |
|
|
|
serverConfig.LoopbackClientConfig.Transport = transport |
|
|
|
serverConfig.LoopbackClientConfig.TLSClientConfig = clientrest.TLSClientConfig{} |
|
|
|
serverConfig.LoopbackClientConfig.TLSClientConfig = clientrest.TLSClientConfig{} |
|
|
|
|
|
|
|
serverConfig.MaxRequestBodyBytes = 16 * 1024 * 1024 // 16MB - determined by the size of `mediumtext` on mysql, which is used to save dashboard data
|
|
|
|
|
|
|
|
|
|
|
|
var optsregister apistore.StorageOptionsRegister |
|
|
|
var optsregister apistore.StorageOptionsRegister |
|
|
|
|
|
|
|
|
|
|
|
|