TRUEREF-0022 fix, more tests
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
type EmbeddingProfileEntityProps
|
||||
} from '$lib/server/models/embedding-profile.js';
|
||||
import { EmbeddingProfileMapper } from '$lib/server/mappers/embedding-profile.mapper.js';
|
||||
import { env } from '$env/dynamic/private';
|
||||
import type { Handle } from '@sveltejs/kit';
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
@@ -48,7 +49,7 @@ try {
|
||||
}
|
||||
|
||||
// Read database path from environment
|
||||
const dbPath = process.env.DATABASE_URL;
|
||||
const dbPath = env.DATABASE_URL;
|
||||
|
||||
// Read indexing concurrency setting from database
|
||||
let concurrency = 2; // default
|
||||
|
||||
Reference in New Issue
Block a user