Skip to content

Commit

Permalink
enable JIT on postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
phenobarbital committed Jun 22, 2023
1 parent 0348dac commit 0fe1a31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion navigator/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ def __init__(
"application_name": name,
"client_min_messages": "notice",
"max_parallel_workers": "256",
"jit": "off",
"jit": "on",
"jit_above_cost": "10000000",
"statement_timeout": f"{self.statement_timeout}",
"idle_in_transaction_session_timeout": DB_IDLE_TRANSACTION_TIMEOUT,
"idle_session_timeout": DB_SESSION_TIMEOUT,
Expand Down
2 changes: 1 addition & 1 deletion navigator/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
__description__ = (
"Navigator Web Framework based on aiohttp, " "with batteries included."
)
__version__ = "2.6.23"
__version__ = "2.6.24"
__author__ = "Jesus Lara"
__author_email__ = "jesuslarag@gmail.com"
__license__ = "BSD"

0 comments on commit 0fe1a31

Please sign in to comment.