Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
databaseConnections: [
  {
    name: "inventory",
    default: true,
    driver: "IBMi",
	driverOptions: {				// The below settings are applicable only to the IBM i-based Profound.js instance
		acquireTimeout: 20,			// Number of seconds to wait for a database connection to become available; default is 10
		sessionMinPoolSize: 10,		// Minimum number database connections to begin with for interactive sessions; default is 1
		sessionMaxPoolSize: 2000,	// Maximum number database connections to allow for interactive sessions; default is sessionMinPoolSize * 2
		apiMinPoolSize: 10,			// Minimum number database connections to begin with for API sessions; default is 1
		apiMaxPoolSize: 20			// Minimum number database connections to allow for API sessions; default is apiMinPoolSize * 2
	}
  }
]

...