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

Split MonitoredItemCreateRequest array to chunks #208

Merged
merged 1 commit into from
Aug 5, 2021

Conversation

rudoc
Copy link
Contributor

@rudoc rudoc commented Jul 26, 2021

Split MonitoredItemCreateRequest array to chunks of MaxMonitoredItemsPerCall size.
Operation limit of a server, particularly MaxMonitoredItemsPerCall https://reference.opcfoundation.org/v104/Core/docs/Part5/6.3.11/ , does not allow to send all the MonitoredItems defined in SubscriptionBase class in one batch. Chunking the MonitoredItemCreateRequest array allow adding items up to subscription maximum nodes limit.
In my server MaxMonitoredItemsPerCall = 100, subscription maximum nodes limit = 1000. I did not attempt to add additional attribute of MaxMonitoredItemsPerCall, as i think suggested defaults will work in most cases.

Split MonitoredItemCreateRequest array to chunks of MaxMonitoredItemsPerCall size.
Operation limit of a server, particularly MaxMonitoredItemsPerCall https://reference.opcfoundation.org/v104/Core/docs/Part5/6.3.11/ , does not allow to send all the MonitoredItems defined in SubscriptionBase class in one batch. Chunking the MonitoredItemCreateRequest array allow adding items up to subscription maximum nodes limit.
In my server MaxMonitoredItemsPerCall = 100, subscription maximum nodes limit = 1000. I did not attempt to add additional attribute of  MaxMonitoredItemsPerCall, as i think suggested defaults will work in most cases.
@awcullen awcullen merged commit a7d8da1 into convertersystems:master Aug 5, 2021
@awcullen
Copy link
Contributor

awcullen commented Aug 5, 2021

Thanks for this helpful improvement.

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.

2 participants