Skip to content

Commit

Permalink
Merge pull request #15 from digital-land/eveleighoj-patch-1
Browse files Browse the repository at this point in the history
Update startup.sh
  • Loading branch information
eveleighoj authored Jan 31, 2024
2 parents 186bbda + 5674717 commit d04d8a3
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 5000 --nolock --immutable=/mnt/datasets/entity.sqlite3 --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/entity.sqlite3 --immutable=/mnt/datasets/digital-land.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 d04d8a3

Please sign in to comment.