Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

runs slow #29

Open
rpiskule opened this issue Jun 21, 2012 · 1 comment
Open

runs slow #29

rpiskule opened this issue Jun 21, 2012 · 1 comment

Comments

@rpiskule
Copy link

In looking at the code, i realized you are opening and closing a database connection each time a request is made.

For extra speed, consider leaving the connection open for all requests, and never closing the connection.

@Minstel
Copy link
Contributor

Minstel commented Aug 11, 2018

@jasny I'm not sure if this is relevant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants