Versions Compared

Key

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

...

Warning Message if Connection threshold is exceeded

The If the time to connect to the Database Connector logs a message if a query or business rule exceeds the default value of 2 seconds when executing. Look for a message in the 2000 ms you will see a warning in the Database Connector log similar to the one shown below:

Code Block
2018-04-20 13:06:37.790  WARN mycompany c852c55e-d529-42b0-a7f2-a4bc8d370d95 2068 --- [http-nio-8082-exec-4] c.f.connector.database.QueryResource     : Database operation took 6962 ms exceeding the threshold of 2000 ms 

You can override the default by adding the frevvo.connectors.database.configuration.connectionThresholdMillis with a value in ms to the <frevvo-home>\tomcat\conf\frevvo-config.properties file.

Code Block
frevvo.connectors.database.configuration.connectionThresholdMillis=<value in ms>