Parcourir la source

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

[stable-3.9] Bugfix/rotate log less often
Matthieu Gallien il y a 2 ans
Parent
commit
3f7f75aea2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/libsync/logger.cpp

+ 1 - 1
src/libsync/logger.cpp

@@ -36,7 +36,7 @@
 namespace {
 namespace {
 
 
 constexpr int CrashLogSize = 20;
 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)
 static bool compressLog(const QString &originalName, const QString &targetName)
 {
 {