Skip to content

Save not committing when using pool #5

@boscharun

Description

@boscharun

Tried out connetion pool and it worked great for read queries. However, when saving, the queries doesn't seem to commit and hence not able to write anything to db.
Not 100% sure its the commit not working, assuming so because there were no errors in the output.

Config -

'default': {
'ENGINE': 'dj_db_conn_pool.backends.oracle',
'NAME': 'xxx',
'USER': 'xxxx',
'PASSWORD': 'xxx',
'CONN_MAX_AGE': 250, # For ATP, the timeout period at db end seen to be 5 mins.
'POOL_OPTIONS': {
'POOL_SIZE': 5,
'MAX_OVERFLOW': 5,
'autocommit': True,
},
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions