function getTimeoutSeconds() {
  const config = getConfigRef();
  // This is the HTTP connection timeout used by the SQLPad backend
  // It may not exist if this is executing outside the scope of the application
  // In that case, return a stubbed in default
  return config?.get('timeoutSeconds') ?? 300;
}
Return the query timeout in seconds from the app config.