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

Limit incoming queue to a single claim #36

Open
kincaidoneil opened this issue May 21, 2019 · 1 comment
Open

Limit incoming queue to a single claim #36

kincaidoneil opened this issue May 21, 2019 · 1 comment

Comments

@kincaidoneil
Copy link
Member

On a T04 errors, the plugin sends the latest claim to the peer. Often, this requires verifying the signature, which if many T04s are triggered, can overwhelm the plugin/connector.

Alternatively, only allow a single validate claim task in the queue, and if a new one is enqueued, drop any others without running them.

@kincaidoneil
Copy link
Member Author

Also, one simple heuristic to use that could improve performance: if the signature in the new claim is the same as the existing claim, don't do anything!

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

No branches or pull requests

1 participant