Commit Graph

18 Commits

Author SHA1 Message Date
Iain Sproat 0115e654b7 feat(database monitor): handles multi-region and connection pooling (#3685) 2024-12-17 09:36:39 +00:00
Iain Sproat c4def81ae2 feat(server options): allow connection timeouts to be configured (#3701)
* feat(server options): allow connection timeouts to be configured

* feat(postgres config): allow connection parameters to be configured
2024-12-16 13:39:40 +00:00
Iain Sproat 083999da46 chore(server/logging): use message template instead of runtime formatting (#3638)
- reduce the cardinality of messages, to allow filtering by message template
2024-12-05 12:02:48 +00:00
Gergő Jedlicska 13bfa3fde1 fix(preview-service): main region db client selector (#3518) 2024-11-19 19:29:35 +01:00
Gergő Jedlicska ef043ee234 gergo/web 2158 previews module multi region (#3492)
* feat(previews): multi region previews module

* feat(preview-service): talk multi region

* fix(preview-service): test helper await

* fix(preview-service): remove linting issue, this prob makes it worse
2024-11-19 16:35:39 +01:00
Adam Hathcock 86f5c3da2b Add stream destroy where db streams are used on download (#3300) 2024-10-17 11:35:39 +02:00
Iain Sproat bd8da2e4bf fix(preview-service): use lodash-es not lodash (#3012) 2024-09-16 15:54:16 +01:00
Iain Sproat cd14619790 fix(logging): use getRequestPath to more robustly identify debug logs (#3005) 2024-09-16 14:01:34 +01:00
Iain Sproat b58d077cf3 fix(preview-service): knex should use pino logger (#3004) 2024-09-16 11:44:56 +01:00
Gergő Jedlicska 965c9f94f6 feat(preview-service): use axios for proper timeout support (#2939) 2024-09-11 10:55:37 +02:00
Iain Sproat 7c55af8893 revert(preview service): logging broke initialization (#2902)
- we need more tests
2024-09-07 11:45:07 +01:00
Iain Sproat 19b51c5308 Revert "fix(preview-service): only create a puppeteer client per app, not per…" (#2901)
This reverts commit d5c9e5e207.
2024-09-07 11:09:47 +01:00
Iain Sproat 20fcc407fd chore(preview service): improve logging (#2900)
* chore(preview service): improve logging

* use correct logging syntax in test
2024-09-07 11:08:46 +01:00
Iain Sproat d5c9e5e207 fix(preview-service): only create a puppeteer client per app, not per request (#2899)
* fix(preview-service): only create a puppeteer client per app, not per request

* allow puppeteer client to be dependency injected and stub in tests
2024-09-07 09:50:30 +01:00
Iain Sproat c227495d66 fix(preview service): gracefully close streams (#2887) 2024-09-05 17:18:23 +01:00
Iain Sproat 206b2368ba fix(preview-service): listen externally on metrics port (#2893) 2024-09-05 16:50:23 +01:00
Iain Sproat d0113104ce fix(preview service): healthcheck was duplicate sub-pathed /metrics path (#2874)
- it was serving at /metrics/metrics and should be serving at /metrics only
2024-09-04 14:18:26 +01:00
Iain Sproat 9a28e467ba refactor(preview-service): conforms to design patterns, adds tests, and is typed (#2429)
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-09-04 13:06:23 +01:00