calpoly-csai / api

Official API for the NIMBUS Voice Assistant accessible via HTTP REST protocol.
https://nimbus.api.calpolycsai.com/
GNU General Public License v3.0
9 stars 4 forks source link

Merge init_db and init_nimbus and add pre-ping #157

Closed Jason-Ku closed 4 years ago

Jason-Ku commented 4 years ago

What's New?

Fixes #145

Type of change (pick-one)

How Has This Been Tested?

Tried setting the wait_timeout variable of the db connection to 5 seconds (timeout after 5 seconds). The screencap below shows a query successfully running in the 5 seconds that the connection is active, and the query failing but restarting the connection and eventually succeeding even after the connection times out. image

Tests still pass! image

Checklist (check-all-before-merge)

formatting help: - [x] means "checked' and - [ ] means "unchecked"

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication