locka99 / opcua

A client and server implementation of the OPC UA specification written in Rust
Mozilla Public License 2.0
496 stars 131 forks source link

Server Side Subscription Handling #96

Closed morphace closed 3 years ago

morphace commented 3 years ago

I'm using a client (based on opcua-client 0.9.0) that connects to a opcua-server. The client subscribes to 4 variables.

On the server side, I get constantly: "Too many publish requests 2 for capacity 2".

I tried different settings on the client (sampling interval, queue length, reduced to 1 variable) and I tried to figure out in the source code, what's going on, but no success so far...

What's there reason for limiting max_publish_requests to 2 x self.subscriptions.len()?

morphace commented 3 years ago

My bad - used the wrong node id.