aboutsummaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2024-09-10 05:34:42 +0800
committerGitHub <noreply@github.com>2024-09-09 21:34:42 +0000
commit1620e3f03bad1feb22c8e9c3c9baf4da04aaefe5 (patch)
tree876999cda6d8ed4039feb98dc2fd5b3a59b2648c /custom/conf
parentf183783baa67e7da0b0ae0909d3d6cb3045c0501 (diff)
downloadgitea-1620e3f03bad1feb22c8e9c3c9baf4da04aaefe5.tar.gz
gitea-1620e3f03bad1feb22c8e9c3c9baf4da04aaefe5.zip
Enable compression for Actions logs by default (#32013)
Close #31801. Follow #31761. Since there are so many benefits of compression and there are no reports of related issues after weeks, it should be fine to enable compression by default.
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.example.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 7009df54db..a2dd92b105 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -2695,7 +2695,7 @@ LEVEL = Info
;; It's always recommended to use compression when using local disk as log storage if CPU or memory is not a bottleneck.
;; And for object storage services like S3, which is billed for requests, it would cause extra 2 times of get requests for each log view.
;; But it will save storage space and network bandwidth, so it's still recommended to use compression.
-;LOG_COMPRESSION = none
+;LOG_COMPRESSION = zstd
;; Default artifact retention time in days. Artifacts could have their own retention periods by setting the `retention-days` option in `actions/upload-artifact` step.
;ARTIFACT_RETENTION_DAYS = 90
;; Timeout to stop the task which have running status, but haven't been updated for a long time