Skip to content

Commit df6b2c6

Browse files
JisoLyaimbajin
authored andcommitted
fix: fix NPE in CI (#60)
1 parent 381202e commit df6b2c6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

hugegraph-store/hg-store-node/src/main/java/org/apache/hugegraph/store/node/grpc/HgStoreNodeService.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ public void init() {
109109
setPartitionCount(appConfig.getFakePdConfig().getPartitionCount());
110110
setShardCount(appConfig.getFakePdConfig().getShardCount());
111111
}});
112+
setQueryPushDownOption(new QueryPushDownOption(){{
113+
setThreadPoolSize(appConfig.getQueryPushDownConfig().getThreadPoolSize());
114+
setFetchBatchSize(appConfig.getQueryPushDownConfig().getFetchBatchSize());
115+
setFetchTimeout(appConfig.getQueryPushDownConfig().getFetchTimeOut());
116+
setMemoryLimitCount(appConfig.getQueryPushDownConfig().getMemoryLimitCount());
117+
setIndexSizeLimitCount(appConfig.getQueryPushDownConfig().getIndexSizeLimitCount());
118+
}});
119+
setJobConfig(appConfig.getJobOptions());
112120
}};
113121

114122
RaftRocksdbOptions.initRocksdbGlobalConfig(options.getRocksdbConfig());

0 commit comments

Comments
 (0)