Skip to content

Commit

Permalink
Merge pull request #17 from digital-land/add_perf_DB
Browse files Browse the repository at this point in the history
Add perf db
  • Loading branch information
cpcundill authored Jul 31, 2024
2 parents a51680f + 43c629b commit 0ea756f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
DATASETTE_PID=0

start_datasette() {
DATASETTE_SERVE_ARGS="-h 0.0.0.0 -p $PORT --setting sql_time_limit_ms 10000 --nolock --immutable=/mnt/datasets/digital-land.sqlite3 "
DATASETTE_SERVE_ARGS="-h 0.0.0.0 -p $PORT --setting sql_time_limit_ms 10000 --nolock --immutable=/mnt/datasets/digital-land.sqlite3 --immutable=/mnt/datasets/performance.sqlite3 "

for KEY in $(jq -rc 'keys[]' /mnt/datasets/inspect-data-all.json); do
DATASETTE_SERVE_ARGS+="--immutable=/mnt/datasets/$KEY.sqlite3 ";
Expand Down

0 comments on commit 0ea756f

Please sign in to comment.