mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
--nolock mode to ignore locked files, closes #1744
This commit is contained in:
parent
a5acfff4bd
commit
3508bf7875
5 changed files with 15 additions and 1 deletions
|
|
@ -115,6 +115,7 @@ datasette serve --help
|
|||
--create Create database files if they do not exist
|
||||
--crossdb Enable cross-database joins using the /_memory
|
||||
database
|
||||
--nolock Ignore locking, open locked files in read-only mode
|
||||
--ssl-keyfile TEXT SSL key file
|
||||
--ssl-certfile TEXT SSL certificate file
|
||||
--help Show this message and exit.
|
||||
|
|
|
|||
|
|
@ -56,7 +56,9 @@ like so:
|
|||
|
||||
::
|
||||
|
||||
datasette ~/Library/Application\ Support/Google/Chrome/Default/History
|
||||
datasette ~/Library/Application\ Support/Google/Chrome/Default/History --nolock
|
||||
|
||||
The `--nolock` option ignores any file locks. This is safe as Datasette will open the file in read-only mode.
|
||||
|
||||
Now visiting http://localhost:8001/History/downloads will show you a web
|
||||
interface to browse your downloads data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue