Skip to content

Commit e81db8f

Browse files
committed
Disable chromic_pdf
1 parent 4d5e060 commit e81db8f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

services/app/apps/codebattle/lib/codebattle/application.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ defmodule Codebattle.Application do
8989
chrome_args: [append: "--font-render-hinting=none"],
9090
no_sandbox: true,
9191
session_pool: [
92-
size: 5,
92+
size: 1,
9393
timeout: 30_000,
9494
checkout_timeout: 30_000
9595
]

services/app/config/config.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# is restricted to this project.
66
import Config
77

8-
config :codebattle, ChromicPDF, on_demand: false
8+
# TODO: use false on prod
9+
config :codebattle, ChromicPDF, on_demand: true
910
config :codebattle, Codebattle.Bot, min_bot_step_timeout: 1_000
1011

1112
config :codebattle, CodebattleWeb.BotEndpoint,

0 commit comments

Comments
 (0)