Device_session_ttl change for already active tag

Hi Team,
I have 5000 tags active with device_session_ttl=“744h0m0s” which is 31 days.
but we need to define this value to some infinite value or may be 2-3 years.

is it ok to change this value now in the config and how it will reflect for already active tags?
Also, Can we make device session never expires anyway?

Thanks

This was changed when device activations moved into PostgreSQL and no longer expire. If you’re on the latest ChirpStack v4, you’re already there.

If not, changing the config file will not updated existing expirations. You’ll need to go into Redis to do it.

Thank you for your quick reply.

We are still on chirpstack 3 and we want to increase this value(is there any max value for this?) so tag will not deactivate if it is in inventory for longer period of time.

Where do I need to change in the redis?