Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to set special redis db #77

Open
caubechankiu opened this issue Jul 5, 2023 · 2 comments
Open

[Question] How to set special redis db #77

caubechankiu opened this issue Jul 5, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@caubechankiu
Copy link

Here is FlowService struct

type FlowService struct {
	Port                    int
	RedisURL                string
	RedisPassword           string
	RequestAuthSharedSecret string
	RequestAuthEnabled      bool
	WorkerConcurrency       int
	RetryCount              int
	Flows                   map[string]runtime.FlowDefinitionHandler
	RequestReadTimeout      time.Duration
	RequestWriteTimeout     time.Duration
	OpenTraceUrl            string
	DataStore               sdk.DataStore
	Logger                  sdk.Logger
	EnableMonitoring        bool
	DebugEnabled            bool

	runtime *runtime.FlowRuntime
}

I want to connect to a specifically redis db, but FlowService don't have a field like RedisDB

@s8sg
Copy link
Owner

s8sg commented Jul 6, 2023

Currently it's not supported. If you need it urgently I'll suggest to open a PR
Alternatively you can create a new connection by passing the redis URL and cred

@s8sg s8sg added the good first issue Good for newcomers label Jul 6, 2023
@caubechankiu
Copy link
Author

caubechankiu commented Jul 7, 2023

Currently it's not supported. If you need it urgently I'll suggest to open a PR Alternatively you can create a new connection by passing the redis URL and cred

I just created a PR #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants