Skip to content

add root path command options#259

Open
martian4202 wants to merge 1 commit intohibiken:masterfrom
martian4202:feat/add-root-path-cmd-opt
Open

add root path command options#259
martian4202 wants to merge 1 commit intohibiken:masterfrom
martian4202:feat/add-root-path-cmd-opt

Conversation

@martian4202
Copy link

add root-path command option in case asynqmon running behind a proxy

Copy link

@harry0703 harry0703 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

h := asynqmon.New(asynqmon.Options{
		RedisConnOpt:      redisConnOpt,
		PayloadFormatter:  asynqmon.PayloadFormatterFunc(payloadFormatterFunc(cfg)),
		ResultFormatter:   asynqmon.ResultFormatterFunc(resultFormatterFunc(cfg)),
		PrometheusAddress: cfg.PrometheusServerAddr,
		ReadOnly:          cfg.ReadOnly,
                 // ***** set the RootPath *****
		RootPath:          cfg.RootPath,
	})

@evgenyKharitonov
Copy link

Hey @hibiken can you please merge this so we can open another PR to add ENV var support for this?

Thanks!

@taltcher
Copy link

taltcher commented Jul 2, 2023

Hey @hibiken can you please merge this so we can open another PR to add ENV var support for this?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants