Type definition for the input parameters required to initialize an instance of the UpstashStoreInput class.

interface UpstashRedisStoreInput {
    client?: Redis;
    config?: RedisConfigNodejs;
    namespace?: string;
    sessionTTL?: number;
    yieldKeysScanBatchSize?: number;
}

Properties

client?: Redis
config?: RedisConfigNodejs
namespace?: string

The namespace to use for the keys in the database.

sessionTTL?: number
yieldKeysScanBatchSize?: number

The amount of keys to retrieve per batch when yielding keys.

1000
""