fix(core): own cache transports and accept cleanup reviews
This commit is contained in:
parent
bd9332b2f6
commit
b4ac6460ef
24 changed files with 504 additions and 97 deletions
|
|
@ -76,6 +76,16 @@ export function registerDatabaseServices(
|
|||
if (config.questdb?.enabled) {
|
||||
container.register({
|
||||
questdbClient: asFunction(({ logger }) => {
|
||||
// Compatibility fields never configured the writer. Warn on requested tuning,
|
||||
// rather than pretending bytes map to its explicit per-operation row batching.
|
||||
if (
|
||||
defined(config.questdb).bufferSize !== 65536 ||
|
||||
defined(config.questdb).flushInterval !== 1000
|
||||
) {
|
||||
logger.warn(
|
||||
'QuestDB bufferSize/flushInterval are deprecated and have no effect; configure explicit writer batch options instead'
|
||||
);
|
||||
}
|
||||
return new QuestDBClient(
|
||||
{
|
||||
host: defined(config.questdb).host,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue