diff --git a/defaults/config.js b/defaults/config.js index 89212c39..eba57777 100644 --- a/defaults/config.js +++ b/defaults/config.js @@ -159,6 +159,18 @@ module.exports = { // // This value is set to `50` kilobytes by default. prefetchMaxSearchSize: 50, + + // ### `prefetchTimeout` + // + // When `prefetch` is enabled, this value sets the number of milliseconds + // before The Lounge gives up attempting to fetch a link. This can be useful + // if you've increased the `prefetchMaxImageSize`. + // + // Take caution, however, that an inordinately large value may lead to + // performance issues or even a denial of service, since The Lounge will not + // be able to clean up outgoing connections as quickly. Usually the default + // value is appropriate, so only change it if necessary. + prefetchTimeout: 5000, // ### `fileUpload` //