Open tobiasdam opened 2 years ago
expire cannot be used on fields of keys (>_ <)
possible workaround:
ZREMRANGEBYSCORE <zset_key> 0 <timestamp some time ago>
to remove old entries in the zset this requires changes in lorawan_tx and bridge_forwarder
implemented via 36d6b9969c57b78bd8d0ad822db1f4d2c224177b and 0973cf2da435ba4ec36b62ddbf562a689e92ba4c
further enhancement (see #7):
in order to prevent devices from spamming and others from starving we need to: