mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #30497 from overleaf/mj-git-bridge-staging-swap
[git-bridge] Reduce amount of projects on staging git bridge disk GitOrigin-RevId: 428825f354487ece20b2538e7d312186d56cc03a
This commit is contained in:
committed by
Copybot
parent
9be3c3fd76
commit
32845170ff
@@ -144,7 +144,9 @@ public class SwapJobImpl implements SwapJob {
|
||||
exceptionProjectNames.add(projectName);
|
||||
}
|
||||
}
|
||||
if (totalSize > lowWatermarkBytes) {
|
||||
if (lowWatermarkBytes > 0 && totalSize > lowWatermarkBytes) {
|
||||
// NOTE: If lowWatermarkBytes is 0, we never expect to reach it (since
|
||||
// we keep the repo database on disk), so don't log a warning.
|
||||
Log.warn("Finished swapping, but total size is still too high.");
|
||||
}
|
||||
Log.debug(
|
||||
|
||||
Reference in New Issue
Block a user