public static async ETTask <bool> UnlockEvent(this CacheProxyComponent self, string key, string token)
 {
     return(await self.redisClient.GetDatabase().LockReleaseAsync(self.GetLockName(key), token));
 }
 public static async ETTask <bool> LockEvent(this CacheProxyComponent self, string key, string token, long timeout = 60000)
 {
     return(await self.redisClient.GetDatabase().LockTakeAsync(self.GetLockName(key), token, TimeSpan.FromMilliseconds(timeout)));
 }