Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Thomas Gambier
slapos
Commits
8a39426d
Commit
8a39426d
authored
Nov 21, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/grafana: enable wal for grafana's sqlite
parent
275ef4b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
software/grafana/buildout.hash.cfg
software/grafana/buildout.hash.cfg
+1
-1
software/grafana/grafana-config-file.cfg.in
software/grafana/grafana-config-file.cfg.in
+12
-0
No files found.
software/grafana/buildout.hash.cfg
View file @
8a39426d
...
@@ -32,7 +32,7 @@ md5sum = a28972ced3e0f4aa776e43a9c44717c0
...
@@ -32,7 +32,7 @@ md5sum = a28972ced3e0f4aa776e43a9c44717c0
[grafana-config-file]
[grafana-config-file]
filename = grafana-config-file.cfg.in
filename = grafana-config-file.cfg.in
md5sum = 2
b75d6b1984d9d154303ec773aa88474
md5sum = 2
58a25781f164f933fae12b9e1bc55fc
[grafana-provisioning-dashboards-config-file]
[grafana-provisioning-dashboards-config-file]
filename = grafana-provisioning-dashboards-config-file.cfg.in
filename = grafana-provisioning-dashboards-config-file.cfg.in
...
...
software/grafana/grafana-config-file.cfg.in
View file @
8a39426d
...
@@ -106,6 +106,18 @@ server_cert_name =
...
@@ -106,6 +106,18 @@ server_cert_name =
# For "sqlite3" only, path relative to data_path setting
# For "sqlite3" only, path relative to data_path setting
path = grafana.db
path = grafana.db
# For "sqlite3" only. cache mode setting used for connecting to the database
cache_mode = private
# For "sqlite3" only. Enable/disable Write-Ahead Logging, https://sqlite.org/wal.html. Default is false.
wal = true
# For "sqlite" only. How many times to retry query in case of database is locked failures. Default is 0 (disabled).
query_retries = 2
# For "sqlite" only. How many times to retry transaction in case of database is locked failures. Default is 5.
transaction_retries = 5
#################################### Session #############################
#################################### Session #############################
[session]
[session]
# Either "memory", "file", "redis", "mysql", "postgres", "memcache", default is "file"
# Either "memory", "file", "redis", "mysql", "postgres", "memcache", default is "file"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment