graphql-engine/server
Samir Talwar 9c88a3a16f Only schedule cleanup for event triggers if any exist.
Users were seeing spurious log entries saying that cleanup could not be scheduled for BigQuery sources as event triggers are not supported.

This makes the error go away by enforcing non-emptyness on the list of triggers, which means we cannot call the function throwing the error, as there will never be any event triggers for which to schedule cleanup.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10987
GitOrigin-RevId: ce9bd6a340bbc8f45f4c74cf9c69f65c4ee91bf5
2024-08-07 13:56:58 +00:00
..
benchmarks server/benchmarks: try to remove some possible sources of non-determi… 2023-11-13 18:11:15 +00:00
documentation chore(server): delete MySQL native backend 2023-05-05 10:32:56 +00:00
forks/hedis Jberryman/ghc 9.6.4 2024-01-23 19:47:53 +00:00
lib server: Factor out authentication-related code into a new namespace, Hasura.Authentication. 2024-07-29 06:02:56 +00:00
src-emit-metadata-openapi harmonize network manager handling 2023-02-22 15:55:54 +00:00
src-exec server: Avoid partial fields wherever possible. 2023-07-28 10:54:24 +00:00
src-lib Only schedule cleanup for event triggers if any exist. 2024-08-07 13:56:58 +00:00
src-rsr ci: stable release v2.42.0 catalogue update 2024-08-05 10:30:33 +00:00
src-test Enforce the session variable name prefix. 2024-07-29 15:53:06 +00:00
test-manual Remove the version from Docker Compose files. 2024-07-17 13:49:05 +00:00
test-mssql server: Avoid partial fields wherever possible. 2023-07-28 10:54:24 +00:00
test-postgres Only schedule cleanup for event triggers if any exist. 2024-08-07 13:56:58 +00:00
tests-py Enforce the session variable name prefix. 2024-07-29 15:53:06 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
.ormolu Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
commit_diff.txt Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
COMPILING-ON-MACOS.md Upgrade cabal version used in CI server-build 2023-06-08 08:32:15 +00:00
CONTRIBUTING.md Specify the GHC version in one place. 2023-11-22 09:33:37 +00:00
graphql-engine.cabal server: Factor out authentication-related code into a new namespace, Hasura.Authentication. 2024-07-29 06:02:56 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
STYLE.md Nix: Use nixpkgs-fmt to format everything. 2022-06-20 13:02:45 +00:00
testing-guidelines.md Extract the test harness from the Hspec tests 2022-10-04 08:31:26 +00:00
troubleshooting.md Create troubleshooting.md 2022-05-30 09:18:44 +00:00
VERSIONS.json Upgrade GHC to v9.6.5. 2024-05-30 09:38:45 +00:00