pull/2468/head
withchao 1 year ago
parent a1b1678c9d
commit 5fb43eacac

@ -5,7 +5,8 @@ import "time"
const (
OnlineKey = "ONLINE:"
OnlineChannel = "online_change"
OnlineExpire = time.Hour / 2
//OnlineExpire = time.Hour / 2
OnlineExpire = time.Minute / 2 // test
)
func GetOnlineKey(userID string) string {

Loading…
Cancel
Save