mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
g# This is a combination of 6 commits. (#675)
perf: node render perf: react flow performance config perf: pg index perf: oauth login doc doc
This commit is contained in:
@@ -22,7 +22,7 @@ export async function initPg() {
|
||||
data_id VARCHAR(50) NOT NULL,
|
||||
createTime TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS vector_index ON ${PgDatasetTableName} USING hnsw (vector vector_ip_ops) WITH (m = 32, ef_construction = 64);
|
||||
CREATE INDEX CONCURRENTLY IF NOT EXISTS vector_index ON ${PgDatasetTableName} USING hnsw (vector vector_ip_ops) WITH (m = 32, ef_construction = 64);
|
||||
`);
|
||||
|
||||
console.log('init pg successful');
|
||||
|
Reference in New Issue
Block a user