mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-04 03:13:15 +08:00
test
This commit is contained in:
parent
a1b1678c9d
commit
5fb43eacac
3
pkg/common/storage/cache/cachekey/online.go
vendored
3
pkg/common/storage/cache/cachekey/online.go
vendored
@ -5,7 +5,8 @@ import "time"
|
|||||||
const (
|
const (
|
||||||
OnlineKey = "ONLINE:"
|
OnlineKey = "ONLINE:"
|
||||||
OnlineChannel = "online_change"
|
OnlineChannel = "online_change"
|
||||||
OnlineExpire = time.Hour / 2
|
//OnlineExpire = time.Hour / 2
|
||||||
|
OnlineExpire = time.Minute / 2 // test
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetOnlineKey(userID string) string {
|
func GetOnlineKey(userID string) string {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user