Seed random number generator
This commit is contained in:
@@ -24,6 +24,10 @@ import (
|
|||||||
"github.com/livekit/protocol/auth"
|
"github.com/livekit/protocol/auth"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
rand.Seed(time.Now().Unix())
|
||||||
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
app := &cli.App{
|
app := &cli.App{
|
||||||
Name: "livekit-server",
|
Name: "livekit-server",
|
||||||
|
|||||||
Reference in New Issue
Block a user