public void Init() { while (database == null) { try { redisServer = RedisManager.GetRedisServer("RedisImbo"); database = redisServer.GetDatabase(0); return; } catch (Exception ex01) { log.Error(ex01); Thread.Sleep(10000); } } }
private CacheProductHash() { while (true) { try { redisServer = RedisManager.GetRedisServer("redisCacheCrawlerDuplicate"); _database = redisServer.GetDatabase(15); break; } catch (Exception ex) { _log.Error(ex); Thread.Sleep(10000); } } }
private CacheDuplicateProduct() { while (true) { try { _redisServer = RedisManager.GetRedisServer(ConfigRun.KeyRedisCrawlerProduct); _database = _redisServer.GetDatabase(4); break; } catch (Exception ex) { _log.Error(ex); Thread.Sleep(10000); } } }
public void Init() { while (_database == null) { try { _redisServer = RedisManager.GetRedisServer(ConfigRun.KeyRedisCrawlerProduct); _database = _redisServer.GetDatabase(8); return; } catch (Exception ex01) { _log.Error(ex01); Thread.Sleep(new Random().Next(0, 10000)); } } }
public void Init() { while (_database == null) { try { _redisServer = RedisManager.GetRedisServer("redisDuplicateProduct"); _database = _redisServer.GetDatabase(12); return; } catch (Exception ex01) { _log.Error(ex01); Thread.Sleep(10000); } } }
public void Init() { while (database == null) { try { redisServer = RedisManager.GetRedisServer("redisLastUpdateProductInCompany"); database = redisServer.GetDatabase(13); return; } catch (Exception ex01) { log.Error(ex01); Thread.Sleep(10000); } } }
public RedisCheckDuplicateAdapter(string server) { redisServer = RedisManager.GetRedisServer(server); database = redisServer.GetDatabase(4); }
private RedisCheckDuplicateAdapter() { redisServer = RedisManager.GetRedisServer("redisCacheCrawlerDuplicate"); database = redisServer.GetDatabase(4); }
public RedisHistoryCrawler() { redisServer = RedisManager.GetRedisServer("redisCacheCrawlerDuplicate"); database = redisServer.GetDatabase(10); }
private CacheTrackDeleteProduct() { redisServer = RedisManager.GetRedisServer("cacheTrackValidProduct"); database = redisServer.GetDatabase(1); }