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
+3
View File
@@ -27,6 +27,9 @@ github.com/ergochat/irc-go/ircutils
github.com/go-sql-driver/mysql
# github.com/go-test/deep v1.0.6
## explicit; go 1.13
# github.com/gofrs/flock v0.8.1
## explicit
github.com/gofrs/flock
# github.com/golang-jwt/jwt v3.2.2+incompatible
## explicit
github.com/golang-jwt/jwt