Commit Graph

13 Commits

Author SHA1 Message Date
David Dworken
04a0fc40cd
Make errors from updateUsageData(...) crash when running in non-prod to ensure they're detected/handled before deployment 2023-09-17 12:03:42 -07:00
David Dworken
6e33e1ee1d
Swap healthcheck endpoint to count the approximate number of history entries 2023-09-15 17:21:16 -07:00
David Dworken
ce511b28a3
More debug prints for auto-migration 2023-09-15 17:08:33 -07:00
David Dworken
0e085211a8
Remove incorrect defer that was causing the datadog tracer to get stopped too early 2023-09-13 21:54:32 -07:00
David Dworken
bc4d2b05f1
Add panic checking for impossible state in server struct 2023-09-13 21:51:23 -07:00
David Dworken
a66ea1387d
Refactor server.go to remove two global variables 2023-09-13 21:47:06 -07:00
Sergio Moura
7638751bd6 fix functions with changed names 2023-09-12 15:56:05 -04:00
Sergio Moura
0d30011a33 break down release versions and fix server tests 2023-09-12 15:44:03 -04:00
Sergio Moura
60a0e20dd9 extract server object to its own package 2023-09-12 15:44:03 -04:00
David Dworken
50c74e5881
Rename a bunch of DB functions + add error checking for DB table creation (follow up to #104) 2023-09-12 08:30:43 -07:00
Sergio Moura
3c18f62d99 finishing removing direct DB instructions from http handlers 2023-09-08 10:58:01 -04:00
Sergio Moura
0d6aa081d8 remove direct db instructions from apiRegisterHandler and statsHandler 2023-09-08 10:58:01 -04:00
Sergio Moura
382f234c09 remove usage_data related queries from the main package into a database package 2023-09-08 10:58:01 -04:00