Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
eis
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 957cfa35
authored
Jun 16, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
pre_ping
1 parent
789632ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
eispajak/models/payment.py
eispajak/models/payment.py
View file @
957cfa3
...
...
@@ -211,7 +211,7 @@ class PaymentWEBR(PCBase, CommonModel):
def
get_connection
(
settings
):
url
=
'pcpd.url'
in
settings
and
settings
[
'pcpd.url'
]
and
'pcpd.'
or
'sqlalchemy.'
engine
=
engine_from_config
(
settings
,
url
)
engine
=
engine_from_config
(
settings
,
url
,
pool_pre_ping
=
True
)
PCDBSession
.
configure
(
bind
=
engine
)
PCBase
.
metadata
.
bind
=
engine
return
engine
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment