mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
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:
parent
e112a78b9b
commit
ed75533cb1
20 changed files with 1048 additions and 0 deletions
2
go.mod
2
go.mod
|
|
@ -25,6 +25,8 @@ require (
|
|||
gopkg.in/yaml.v2 v2.4.0
|
||||
)
|
||||
|
||||
require github.com/gofrs/flock v0.8.1
|
||||
|
||||
require (
|
||||
github.com/tidwall/btree v0.6.1 // indirect
|
||||
github.com/tidwall/gjson v1.10.2 // indirect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue