forked from TrueCloudLab/certificates
Use sync.Mutex as value
This commit is contained in:
parent
272cce522e
commit
4c48048615
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ import (
|
|||
var defaultOrderExpiry = time.Hour * 24
|
||||
|
||||
// Mutex for locking ordersByAccount index operations.
|
||||
var ordersByAccountMux = &sync.Mutex{}
|
||||
var ordersByAccountMux sync.Mutex
|
||||
|
||||
// Order contains order metadata for the ACME protocol order type.
|
||||
type Order struct {
|
||||
|
|
Loading…
Reference in a new issue