-
Notifications
You must be signed in to change notification settings - Fork 34
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
Make sure sentinel implementation works #39
Conversation
FYI: Sentinel should be configured via UI now and can accept multiple servers |
Looks great so far! One thing that stood out to me when I went to try it out: Also, I guess trim()-ing the exploded hostnames/ports would probably be wise. Apart from that, it seems like it's working just fine, right now. 👍 |
Unfortunately, the Piwik Settings API doesn't let us do such things so far. I will try to make the text a little bit more clear.
The values should be trimmed already and there are tests for it see eg https://github.com/piwik/plugin-QueuedTracking/pull/39/files#diff-93972b6811cf61deea59203557827f2aR191 . Was it not working? |
Never mind - I just tried looking for trim() in the code quickly and didn't see it. I didn't actually check then. |
refs #23
There are two fixes:
To use sentinel one must configure a new config setting now (
sentinel_master_name
)