Browse Source

Use sync.Mutex as value

max furman 6 years ago
parent
commit
4c48048615
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme/order.go

+ 1 - 1
acme/order.go

@@ -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 {