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

Fix default pmin value as this was preventing notifications on the cl… #50

Merged
1 commit merged into from
Mar 14, 2016
Merged

Fix default pmin value as this was preventing notifications on the cl… #50

1 commit merged into from
Mar 14, 2016

Conversation

cdewbery
Copy link
Collaborator

Fix default pmin value as this was preventing notifications on the client ipc

The default pmin value was set to -1 in the server object.
The min is used to delay notifications and is treated as unsigned
so -1 results in a very long delay. This value was being used when
sending notifications via the client IPC, which essentially prevented
any client application from receiving notifications.

I have chosen "0" as the default, which results in no delay.
beware that this may result in the flooding of notifications in the
case where pmin is not configured appropriately. In my opinion
pmin/pmax should have no impact at all for the IPC, but we can
address that issue at another time.

Ref: FLOWDM-686
Signed-off-by: Chris Dewbery [email protected]

…ient ipc

The default pmin value was set to -1 in the server object.
The min is used to delay notifications and is treated as unsigned
so -1 results in a very long delay.  This value was being used when
sending notifications via the client IPC, which essentially prevented
any client application from receiving notifications.

I have chosen "0" as the default, which results in no delay.
beware that this may result in the flooding of notifications in the
case where pmin is not configured appropriately. In my opinion
pmin/pmax should have no impact at all for the IPC, but we can
address that issue at another time.

Ref: FLOWDM-686
Signed-off-by: Chris Dewbery <[email protected]>
@cdewbery cdewbery assigned ghost Mar 14, 2016
@ghost
Copy link

ghost commented Mar 14, 2016

+1

@ghost ghost added the bug label Mar 14, 2016
@ghost ghost added this to the 0.1.4 milestone Mar 14, 2016
ghost pushed a commit that referenced this pull request Mar 14, 2016
Fix default pmin value as this was preventing notifications on the cl…
@ghost ghost merged commit a0cbe9d into ConnectivityFoundry:master Mar 14, 2016
@DavidAntliff DavidAntliff unassigned ghost Mar 14, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant