diff options
| author | saltycrys <73420320+saltycrys@users.noreply.github.com> | 2020-12-06 13:12:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-06 12:12:02 +0000 |
| commit | 4184fb3ae78fecb27c50e5ddf8d149ff7cce7467 (patch) | |
| tree | 39f3e7244b5e0ac1d84afee044390878d3a323b0 /src | |
| parent | 20d2d141e4ae54d1666eac3026f0728185889458 (diff) | |
| download | invidious-4184fb3ae78fecb27c50e5ddf8d149ff7cce7467.tar.gz invidious-4184fb3ae78fecb27c50e5ddf8d149ff7cce7467.tar.bz2 invidious-4184fb3ae78fecb27c50e5ddf8d149ff7cce7467.zip | |
Increase YouTube request timeout (#1540)
Increase YouTube request timeout
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 1a6a3bfa..1b59025c 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -104,7 +104,7 @@ LOCALES = { "zh-TW" => load_locale("zh-TW"), } -YT_POOL = QUICPool.new(YT_URL, capacity: CONFIG.pool_size, timeout: 0.1) +YT_POOL = QUICPool.new(YT_URL, capacity: CONFIG.pool_size, timeout: 2.0) config = CONFIG logger = Invidious::LogHandler.new |
