I am new to development an making an app with Python Flask I want to increase the inactivity timer of my application.Currently I have tried the below mentioned solution but apparently it doesn't work.
app = Flask(__name__)
app.secret_key = "JWT SECRET"
app.config['JWT_EXPIRATION_DELTA'] = datetime.timedelta(seconds=3600)
app.config['JWT_REFRESH_EXPIRATION_DELTA'] = datetime.timedelta(seconds=3600)
jwt = JWTManager(app)