graphql-engine/server/src-lib/Hasura/Server
Brandon Simmons cc6f1c3b69 multitenant: make ourIdleGC parameters tunable, and with better defaults (SRE-191)
Context: https://hasurahq.atlassian.net/browse/SRE-10

Also remove an overlapping instance.

-----

The new flags if this needs to be tweaked on production by SRE are:

- --idleGCIdleInterval : "When the system has been idle for idleGCIdleInterval we may opportunistically try a major GC to run finalizers"
-  --idleGCMinGCInterval : "We never run an opportunistic GC unless it has been at least idleGCMinGCInterval seconds since the last major GC"
-  --idleGCMaxNoGCInterval : "If it has been longer than idleGCMaxNoGCInterval since the last major GC, force a GC to run finalizers"

Be aware: we may see memory usage grow to higher peaks than before, especially when under load

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6449
GitOrigin-RevId: 662d2f968f0d73b3b6eebb857c49aaede3312705
2022-10-19 21:36:56 +00:00
..
API Fix conflicting data connector comparison exp GraphQL types 2022-10-18 04:19:12 +00:00
Auth Upgrade HLint to v3.4.1. 2022-10-12 19:14:56 +00:00
Init multitenant: make ourIdleGC parameters tunable, and with better defaults (SRE-191) 2022-10-19 21:36:56 +00:00
Migrate Clean up pg-client-hs 2022-10-07 11:56:55 +00:00
Telemetry server/telemetry: support multiple sources 2022-06-15 08:03:31 +00:00
App.hs Clean up Hasura.Prelude a bit 2022-10-03 21:50:53 +00:00
Auth.hs Monomorphize AuthHookG 2022-08-04 02:25:41 +00:00
CheckUpdates.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Compression.hs benchmarks: Add Accept-Encoding: gzip headers (NO REGRESSION) 2022-08-25 06:43:18 +00:00
Cors.hs Clean up Hasura.Prelude a bit 2022-10-03 21:50:53 +00:00
Init.hs server: Console Sentry DSN support 2022-09-27 14:51:52 +00:00
Limits.hs server/pro: log when rate limits and time limits are hit 2022-07-27 06:40:21 +00:00
Logging.hs Clean up Hasura.Prelude a bit 2022-10-03 21:50:53 +00:00
MetadataOpenAPI.hs server: codecs for TableMetadata, FunctionMetadata, and permissions 2022-09-12 20:31:07 +00:00
Metrics.hs server: add active_livequeries, active_streaming_subscriptions EKG metrics 2022-08-25 15:52:22 +00:00
Middleware.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
Migrate.hs Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
Name.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
OpenAPI.hs Rewrite OpenAPI 2022-06-30 12:57:09 +00:00
Prometheus.hs server: add event trigger metrics for Prometheus 2022-08-15 05:34:04 +00:00
Rest.hs Use witherable, remove catMaybes/mapMaybe 2022-07-29 14:53:16 +00:00
SchemaCacheRef.hs server, pro server, console: provide an option to not include rows count while fetching scheduled events 2022-09-15 19:12:04 +00:00
SchemaUpdate.hs Replace Hasura.RQL.Types.Numeric with refined 2022-09-21 18:03:04 +00:00
Telemetry.hs Amend console assets versioning scheme for CE 2022-08-26 12:39:16 +00:00
Types.hs server/multitenant: resize sources' connection pools when a cloud project is scaled, global connection pooling 2022-10-17 08:06:12 +00:00
Utils.hs server: switch to ghc 9.2 (2nd try) 2022-10-06 09:09:01 +00:00
Version.hs Amend console assets versioning scheme for CE 2022-08-26 12:39:16 +00:00