lwm2m-node-lib
lwm2m-node-lib copied to clipboard
Update unregistration mechanism for Mongo DB registry
Currently, both the in-memory and MongoDB registries use the same manual mechanism to expire records based on lifetime. There may be better ways to make this expiration using MongoDB (e.g.: TTLs). This should save time in each lifetime check.