optionally protect against multiple starts with flock (#1873)

* optionally protect against multiple starts with flock

Fixes #1823

* use traditional .lock extension

* move config key to top level
This commit is contained in:
Shivaram Lingamneni
2022-01-01 18:56:40 -05:00
committed by GitHub
parent e112a78b9b
commit ed75533cb1
20 changed files with 1048 additions and 0 deletions

View File

@@ -616,6 +616,8 @@ type Config struct {
languageManager *languages.Manager
LockFile string `yaml:"lock-file"`
Datastore struct {
Path string
AutoUpgrade bool