You can change device_session_ttl=“744h0m0s” to increase the device activation time. Also, it will reflect for all activated devices once they send uplinks.
There is an API as well that you can use if you want to reactivate devices that have already been deactivated, using session parameters stored in the database.
Please see the two posts below, which might help you.