lti-tool Documentation
    Preparing search index...

    Interface MySqlStorageConfig

    interface MySqlStorageConfig {
        connectionUrl: string;
        logger?: Logger;
        nonceExpirationSeconds?: number;
        poolOptions?: { connectionLimit?: number; queueLimit?: number };
    }
    Index

    Properties

    connectionUrl: string

    MySQL connection URL in format: mysql://user:password@host:port/database Compatible with DATABASE_URL environment variable used by most ORMs

    logger?: Logger
    nonceExpirationSeconds?: number

    Nonce expiration time in seconds (defaults to 600 = 10 minutes)

    poolOptions?: { connectionLimit?: number; queueLimit?: number }

    Optional mysql2 pool configuration

    Type Declaration

    • OptionalconnectionLimit?: number

      Maximum number of connections in the pool. Defaults to 1 in serverless environments, 10 otherwise.

      Recommended values:

      • Serverless (Lambda, Cloud Functions): 1
      • Low traffic servers: 5-10
      • Medium traffic servers: 10-20
      • High traffic servers: 20-50
    • OptionalqueueLimit?: number