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