We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ba725b commit b838a14Copy full SHA for b838a14
apps/smartdoc/conf.py
@@ -123,7 +123,7 @@ def get_db_setting(self) -> dict:
123
}
124
125
def get_session_timeout(self):
126
- return datetime.timedelta(seconds=self.get('SESSION_TIMEOUT', 28800))
+ return datetime.timedelta(seconds=int(self.get('SESSION_TIMEOUT', 60 * 60 * 2)))
127
128
def get_language_code(self):
129
return self.get('LANGUAGE_CODE', 'zh-CN')
0 commit comments