Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close database file after initialization #184

Merged
merged 1 commit into from
Dec 30, 2017
Merged

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented Dec 30, 2017

By submitting this pull request, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your PR:

Please submit all pull requests against the development branch. Failure to do so will delay or deny your request

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

How familiar are you with the codebase?:

10


Close database after initial check so we don't keep it open forever and thereby lock it.

This may or not be related to issues some user have been seeing with lighttpd errors like

PHP Warning:  SQLite3::query(): Unable to prepare statement: 5, database is locked

This template was created based on the work of udemy-dl.

…d hence lock it.

Signed-off-by: DL6ER <dl6er@dl6er.de>
@DL6ER DL6ER added this to the v3.0 milestone Dec 30, 2017
@DL6ER DL6ER requested a review from a team December 30, 2017 21:39
@DL6ER DL6ER merged commit 2ac17c9 into development Dec 30, 2017
@DL6ER DL6ER deleted the fix/db_locking branch December 30, 2017 22:15
DL6ER added a commit that referenced this pull request Jan 6, 2018
Close database file after initialization
DL6ER added a commit that referenced this pull request Jan 6, 2018
Close database file after initialization

Signed-off-by: DL6ER <dl6er@dl6er.de>
DL6ER added a commit that referenced this pull request Jan 6, 2018
Close database file after initialization

Signed-off-by: DL6ER <dl6er@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants