Add eslint (#741)
This commit is contained in:
parent
953428cad5
commit
62417f7fb8
72 changed files with 305 additions and 323 deletions
|
|
@ -9,7 +9,7 @@ var SERVER = null;
|
|||
const CHANNEL_INDEX = 'publicChannelList';
|
||||
const CACHE_REFRESH_INTERVAL = 30 * 1000;
|
||||
const CACHE_EXPIRE_DELAY = 40 * 1000;
|
||||
const READ_CHANNEL_LIST = path.join(__dirname, 'read_channel_list.lua')
|
||||
const READ_CHANNEL_LIST = path.join(__dirname, 'read_channel_list.lua');
|
||||
|
||||
class PartitionChannelIndex {
|
||||
constructor(redisClient) {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@ import { PartitionModule } from './partitionmodule';
|
|||
import { PartitionMap } from './partitionmap';
|
||||
import fs from 'fs';
|
||||
|
||||
/* eslint no-console: off */
|
||||
|
||||
const partitionModule = new PartitionModule();
|
||||
partitionModule.cliMode = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ import { PartitionConfig } from './partitionconfig';
|
|||
import { PartitionDecider } from './partitiondecider';
|
||||
import { PartitionClusterClient } from '../io/cluster/partitionclusterclient';
|
||||
import RedisClientProvider from '../redis/redisclientprovider';
|
||||
import LegacyConfig from '../config';
|
||||
import path from 'path';
|
||||
import { AnnouncementRefresher } from './announcementrefresher';
|
||||
import { RedisPartitionMapReloader } from './redispartitionmapreloader';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue