TheThingsArchive / api

Generated code for accessing The Things Network v2 API
MIT License
12 stars 8 forks source link

Avoid walking preprocessed map on GetAll #41

Closed adriansmares closed 4 years ago

adriansmares commented 4 years ago

Summary

This quickfix ensures that we don't walk all of the announcements while looking for a specific appID/gatewayID.

Changes

Testing

Unit tests.

Notes for Reviewers

I lost the pprof dump but this is on the broker hot-path on both uplink and activation.

Are the seen sets still needed ?

Checklist