akarneliuk / pygnmi

The pure Python implementation of the gNMI client.
https://training.karneliuk.com
BSD 3-Clause "New" or "Revised" License
129 stars 44 forks source link

Work around gRPC issue. #161

Closed jjochum closed 3 weeks ago

jjochum commented 2 months ago

Threads are not joined properly in gRPC and cause an exception on the Python side. The connection termination is usually okay and shouldn't crash scripts. The workaround allows joining the the enqueue_updates thread properly.