@not3/api
    Preparing search index...

    Class ValkeyConfig

    Index
    db: number = ...

    The valkey database number to use.

    0
    

    VALKEY_DB

    enabled: boolean = ...

    Enable the valkey (or redis compatible) integration. When enabled, the internal cache is stored in valkey instead of in memory, so it is shared between all instances and survives restarts. Required for DATABASE_REQUEST_OPTIMIZATION 'hard'. When using 'hard' mode, it is strongly recommended to enable persistence (AOF) on the valkey server, as buffered notes that have not been flushed yet only exist in valkey.

    false
    

    VALKEY_ENABLED

    flushIntervalSeconds: number = ...

    In 'hard' request optimization mode, buffered writes are flushed to the database after this many seconds at the latest.

    60
    

    VALKEY_FLUSH_INTERVAL_SECONDS

    flushMaxQueueSize: number = ...

    In 'hard' request optimization mode, buffered writes are flushed to the database as soon as this many entries are pending, even if the flush interval has not elapsed yet.

    50
    

    VALKEY_FLUSH_MAX_QUEUE_SIZE

    host: string = ...

    The host of the valkey server.

    'localhost'
    

    VALKEY_HOST

    keyPrefix: string = ...

    Prefix for all keys stored in valkey. Change this if multiple !3 instances share one valkey database.

    'not3'
    

    VALKEY_KEY_PREFIX

    password: string = ...

    The password for the valkey server. Leave empty for no authentication.

    ''
    

    VALKEY_PASSWORD

    port: number = ...

    The port of the valkey server.

    6379
    

    VALKEY_PORT

    tls: boolean = ...

    Use TLS for the valkey connection.

    false
    

    VALKEY_TLS

    username: string = ...

    The username for the valkey server. Leave empty for no authentication.

    ''
    

    VALKEY_USERNAME