浏览代码

Merge pull request #5795 from nextcloud/backport/5792/stable-3.9

[stable-3.9] Bugfix/rotate log less often
Matthieu Gallien 2 年之前
父节点
当前提交
3f7f75aea2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/libsync/logger.cpp

+ 1 - 1
src/libsync/logger.cpp

@@ -36,7 +36,7 @@
 namespace {
 
 constexpr int CrashLogSize = 20;
-constexpr int MaxLogSizeBytes = 1024 * 1024 * 3;
+constexpr int MaxLogSizeBytes = 1024 * 1024 * 30;
 
 static bool compressLog(const QString &originalName, const QString &targetName)
 {