File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,14 +138,14 @@ extension Unidoc.Client<HTTP.Client2>
138
138
{
139
139
// Ensure the cache directory exists, solely for checking free space.
140
140
try cache. directory. create ( )
141
- // If there is less than 2GB of free space on the current file system, and we
141
+ // If there is less than 6GB of free space on the current file system, and we
142
142
// are using a manually-managed SwiftPM cache, we should clear it.
143
143
let stats : FileSystemStats = try . containing( path: cache)
144
144
let space : UInt = stats. blocksFreeForUnprivileged * stats. blockSize
145
145
146
146
print ( " Free space available: \( space / 1_000_000 ) MB " )
147
147
148
- if space < 2_000_000_000
148
+ if space < 6_000_000_000
149
149
{
150
150
try cache. directory. remove ( )
151
151
}
You can’t perform that action at this time.
0 commit comments