chirpstack / chirpstack-gateway-bridge

ChirpStack Gateway Bridge abstracts Packet Forwarder protocols into Protobuf or JSON over MQTT.
https://www.chirpstack.io
MIT License
415 stars 269 forks source link

tokenMap is unlimited #143

Closed orientlu closed 4 years ago

orientlu commented 4 years ago

Is this a bug or a feature request?

image

What did you expect?

What happened?

What version are your using?

How can your issue be reproduced?

Could you share your log output?

brocaar commented 4 years ago

It is limited to uint16 items, it is not unlimited. I think this either this uses a limited amount of memory or a kind of garbage collector logic is needed so this would require more CPU. In the correct version I have chosen to rely on a bit of RAM as the note states.