mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Add a flag to unlock database after each API request
After the first API request, the database was locked as long as the API server is running. This prevents a user to also use the command-line client. This commit adds a new flag `-no-lock` that will close the database after each API request. Closes #234
This commit is contained in:
1 parent
16101b56fe
commit
7f6a52019f
4 files changed
+87
-5
No files matched your search
@@ -46,6 +46,7 @@ Example:
|
||||
}
|
||||
|
||||
cmd.Flag.String("listen", ":8080", "host:port for HTTP listening")
|
||||
cmd.Flag.Bool("no-lock", false, "don't lock the database")
|
||||
|
||||
return cmd
|
||||
|
||||
|
||||
Reference in new issue
Block a user