Skip to content

Commit edc8b7e

Browse files
Inon SharonyInon Sharony
Inon Sharony
authored and
Inon Sharony
committed
applying code reviews
1 parent 788423f commit edc8b7e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

custom/conf/app.ini.sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ LFS_START_SERVER = false
189189
LFS_CONTENT_PATH = data/lfs
190190
; LFS authentication secret, change this yourself
191191
LFS_JWT_SECRET =
192+
; LFS authentication validity period in minutes, pushes taking longer than this may fail.
193+
LFS_HTTP_AUTH_EXPIRY_MINUTES = 20
192194

193195
; Define allowed algorithms and their minimum key length (use -1 to disable a type)
194196
[ssh.minimum_key_sizes]

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
115115
- `LFS_START_SERVER`: **false**: Enables git-lfs support.
116116
- `LFS_CONTENT_PATH`: **./data/lfs**: Where to store LFS files.
117117
- `LFS_JWT_SECRET`: **\<empty\>**: LFS authentication secret, change this a unique string.
118-
- `LFS_HTTP_AUTH_EXPIRY_MINUTES`: **5**: LFS authentication validity period in minutes, pushes taking longer than this may fail.
118+
- `LFS_HTTP_AUTH_EXPIRY_MINUTES`: **20**: LFS authentication validity period in minutes, pushes taking longer than this may fail.
119119
- `REDIRECT_OTHER_PORT`: **false**: If true and `PROTOCOL` is https, redirects http requests
120120
on another (https) port.
121121
- `PORT_TO_REDIRECT`: **80**: Port used when `REDIRECT_OTHER_PORT` is true.

0 commit comments

Comments
 (0)