You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
;; Cache successful token hashes. API tokens are stored in the DB as pbkdf2 hashes however, this means that there is a potentially significant hashing load when there are multiple API operations.
464
464
;; This cache will store the successfully hashed tokens in a LRU cache as a balance between performance and security.
465
465
;SUCCESSFUL_TOKENS_CACHE_SIZE = 20
466
+
;;
467
+
;; Reject API tokens sent in URL query string (Accept Header-based API tokens only). This avoids security vulnerabilities
468
+
;; stemming from cached/logged plain-text API tokens.
469
+
;; In future releases, this will become the default behavior
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
971
992
;ALLOWED_TYPES =
972
993
;;
973
-
;; Max size of each file in megabytes. Defaults to 3MB
974
-
;FILE_MAX_SIZE = 3
994
+
;; Max size of each file in megabytes. Defaults to 50MB
;; Issue indexer connection string, available when ISSUE_INDEXER_TYPE is elasticsearch (e.g. http://elastic:password@localhost:9200) or meilisearch (e.g. http://:apikey@localhost:7700)
1340
+
;ISSUE_INDEXER_CONN_STR =
1320
1341
;;
1321
-
;; Issue indexer name, available when ISSUE_INDEXER_TYPE is elasticsearch
1342
+
;; Issue indexer name, available when ISSUE_INDEXER_TYPE is elasticsearch or meilisearch.
1322
1343
;ISSUE_INDEXER_NAME = gitea_issues
1323
1344
;;
1324
1345
;; Timeout the indexer if it takes longer than this to start.
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
;; Path for attachments. Defaults to `data/attachments` only available when STORAGE_TYPE is `local`
1796
-
;PATH = data/attachments
1816
+
;; Path for attachments. Defaults to `attachments`. Only available when STORAGE_TYPE is `local`
1817
+
;; Relative paths will be resolved to `${AppDataPath}/${attachment.PATH}`
1818
+
;PATH = attachments
1797
1819
;;
1798
1820
;; Minio endpoint to connect only available when STORAGE_TYPE is `minio`
1799
1821
;MINIO_ENDPOINT = localhost:9000
@@ -2532,6 +2554,14 @@ ENABLED = true
2532
2554
;;
2533
2555
;; Default platform to get action plugins, `github` for `https://github.com`, `self` for the current Gitea instance.
2534
2556
;DEFAULT_ACTIONS_URL = github
2557
+
;; Default artifact retention time in days. Artifacts could have their own retention periods by setting the `retention-days` option in `actions/upload-artifact` step.
2558
+
;ARTIFACT_RETENTION_DAYS = 90
2559
+
;; Timeout to stop the task which have running status, but haven't been updated for a long time
2560
+
;ZOMBIE_TASK_TIMEOUT = 10m
2561
+
;; Timeout to stop the tasks which have running status and continuous updates, but don't end for a long time
2562
+
;ENDLESS_TASK_TIMEOUT = 3h
2563
+
;; Timeout to cancel the jobs which have waiting status, but haven't been picked by a runner for a long time
0 commit comments