diff --git a/assets/index.html b/assets/index.html
index 7ac7981..05cac95 100644
--- a/assets/index.html
+++ b/assets/index.html
@@ -54,7 +54,7 @@
- Limits: Size: 2MB, Noise Reduction: 2560x2560px, Upscaling: 1280x1280px.
+ Limits: Size: 3MB, Noise Reduction: 2560x2560px, Upscaling: 1280x1280px.
diff --git a/assets/index.pt.html b/assets/index.pt.html
index e71cdc5..50fe4a8 100644
--- a/assets/index.pt.html
+++ b/assets/index.pt.html
@@ -54,7 +54,7 @@
- Limites: Tamanho: 2MB, Redução de ruído: 2560x2560px, Aumento de escala: 1280x1280px.
+ Limites: Tamanho: 3MB, Redução de ruído: 2560x2560px, Aumento de escala: 1280x1280px.
diff --git a/assets/index.ru.html b/assets/index.ru.html
index 03984ad..8a77f41 100644
--- a/assets/index.ru.html
+++ b/assets/index.ru.html
@@ -54,7 +54,7 @@
- Макс. размер файла — 2MB, устранение шума — макс. 2560x2560px, апскейл — 1280x1280px.
+ Макс. размер файла — 3MB, устранение шума — макс. 2560x2560px, апскейл — 1280x1280px.
diff --git a/web.lua b/web.lua
index 070d38e..199259a 100644
--- a/web.lua
+++ b/web.lua
@@ -49,12 +49,12 @@ local CACHE_DIR = path.join(ROOT, "cache")
local MAX_NOISE_IMAGE = 2560 * 2560
local MAX_SCALE_IMAGE = 1280 * 1280
local CURL_OPTIONS = {
- request_timeout = 15,
- connect_timeout = 10,
+ request_timeout = 60,
+ connect_timeout = 60,
allow_redirects = true,
max_redirects = 2
}
-local CURL_MAX_SIZE = 2 * 1024 * 1024
+local CURL_MAX_SIZE = 3 * 1024 * 1024
local function valid_size(x, scale)
if scale == 0 then
diff --git a/webgen/locales/en.yml b/webgen/locales/en.yml
index 4549d30..de97a1d 100644
--- a/webgen/locales/en.yml
+++ b/webgen/locales/en.yml
@@ -6,7 +6,7 @@ go_to_github: Go to GitHub
image_choosing: Image choosing
type_url: Type URL
choose_file: Or choose a file
-file_limits: "Limits: Size: 2MB, Noise Reduction: 2560x2560px, Upscaling: 1280x1280px."
+file_limits: "Limits: Size: 3MB, Noise Reduction: 2560x2560px, Upscaling: 1280x1280px."
style: Style
artwork: Artwork
photo: Photo
diff --git a/webgen/locales/ja.yml b/webgen/locales/ja.yml
index cc051e7..cc10c20 100644
--- a/webgen/locales/ja.yml
+++ b/webgen/locales/ja.yml
@@ -6,7 +6,7 @@ go_to_github: プロジェクトページ(GitHub)
image_choosing: 画像を選択
type_url: URLを入力
choose_file: ファイルを選択
-file_limits: "制限: サイズ: 2MB, ノイズ除去: 2560x2560px, 拡大(前): 1280x1280px."
+file_limits: "制限: サイズ: 3MB, ノイズ除去: 2560x2560px, 拡大(前): 1280x1280px."
style: スタイル
artwork: イラスト
photo: 写真
diff --git a/webgen/locales/pt.yml b/webgen/locales/pt.yml
index 52a2b00..8787837 100644
--- a/webgen/locales/pt.yml
+++ b/webgen/locales/pt.yml
@@ -6,7 +6,7 @@ go_to_github: Ir para Github
image_choosing: Imagem
type_url: URL
choose_file: ARQUIVO
-file_limits: "Limites: Tamanho: 2MB, Redução de ruído: 2560x2560px, Aumento de escala: 1280x1280px."
+file_limits: "Limites: Tamanho: 3MB, Redução de ruído: 2560x2560px, Aumento de escala: 1280x1280px."
style: Estilo
artwork: Arte
photo: Foto
diff --git a/webgen/locales/ru.yml b/webgen/locales/ru.yml
index 5cd98d3..60d2464 100644
--- a/webgen/locales/ru.yml
+++ b/webgen/locales/ru.yml
@@ -6,7 +6,7 @@ go_to_github: Перейти на GitHub
image_choosing: Выбор изображения
type_url: Укажите URL
choose_file: Либо выберите файл
-file_limits: "Макс. размер файла — 2MB, устранение шума — макс. 2560x2560px, апскейл — 1280x1280px."
+file_limits: "Макс. размер файла — 3MB, устранение шума — макс. 2560x2560px, апскейл — 1280x1280px."
style: Тип изображения
artwork: Арт
photo: Фотография