is a bug, i test lorasever project ,found my gateway-bridge will block on handlePackage where try to get the read lock. and i think the block is cause by read lock nest
1.function handlePushData is called by handlePacket which will get the read lock,
2.fucntion handleStats is called by handlePushData and will get the read lock too
here, if somewhere get the write lock betwen 1 and 2, will cause deadlock
Is this a bug or a feature request?
is a bug, i test lorasever project ,found my gateway-bridge will block on handlePackage where try to get the read lock. and i think the block is cause by read lock nest 1.function handlePushData is called by handlePacket which will get the read lock, 2.fucntion handleStats is called by handlePushData and will get the read lock too here, if somewhere get the write lock betwen 1 and 2, will cause deadlock
What did you expect?
may you merge the code which i think it fixed
What happened?
What version are your using?
How can your issue be reproduced?
Could you share your log output?