···139139140140--blob-max-size <BA_BLOB_MAX_SIZE>
141141 Maximum blob size that can be fetched and served.
142142-143143- Blobs that exceed this limit will return HTTP 413. Setting this too high can exhaust
144144- process or system memory. The minimum value is 512kb.
142142+143143+ Blobs that exceed this limit will return HTTP 413.
144144+145145+ The minimum value is 512kb and the maximum is the system's total memory.
145146146147 [env: PORXIE_BLOB_MAX_SIZE=]
147148 [default: 50mb]
···208209```
209210--cache-allocation <CA_CACHE_ALLOCATION>
210211 Total memory allocation for the internal cache.
211211-212212- Blobs are cached using an LFU policy. The most frequently requested blobs are kept
213213- longest when the cache approaches its limit.
214214-215215- For production deployments, a CDN or caching layer in front of this server is
216216- recommended for lower latency and better global availability.
217217-218218- Setting this too high can exhaust process or system memory. The minimum value is 8mb.
212212+213213+ Blobs are cached using an LFU policy. The most frequently requested blobs are kept longest when the cache approaches its limit.
214214+215215+ For production deployments, a CDN or caching layer in front of this server is recommended for lower latency and better global availability.
216216+217217+ The minimum value is 8mb and the maximum is the system's total memory.
219218220219 [env: PORXIE_CACHE_ALLOCATION=]
221220 [default: 512mb]
+4-3
src/main.rs
···135135136136 /// Maximum blob size that can be fetched and served.
137137 ///
138138- /// Blobs that exceed this limit will return HTTP 413. Setting this too high can exhaust
139139- /// process or system memory. The minimum value is 512kb.
138138+ /// Blobs that exceed this limit will return HTTP 413.
139139+ ///
140140+ /// The minimum value is 512kb and the maximum is the system's total memory.
140141 #[arg(
141142 id = "BA_BLOB_MAX_SIZE",
142143 long = "blob-max-size",
···252253 /// For production deployments, a CDN or caching layer in front of this server is recommended
253254 /// for lower latency and better global availability.
254255 ///
255255- /// Setting this too high can exhaust process or system memory. The minimum value is 8mb.
256256+ /// The minimum value is 8mb and the maximum is the system's total memory.
256257 #[arg(
257258 id = "CA_CACHE_ALLOCATION",
258259 long = "cache-allocation",