graphql-engine/server/src-lib/Hasura/Eventing
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
..
ScheduledTrigger chore(server): use generics over TH in Hasura.Eventing 2023-05-16 15:53:37 +00:00
Backend.hs Only schedule cleanup for event triggers if any exist. 2024-08-07 13:56:58 +00:00
Common.hs Upgrade Ormolu to 0.7.0.0 2023-05-24 13:53:53 +00:00
EventTrigger.hs Jberryman/ghc 9.6.4 2024-01-23 19:47:53 +00:00
HTTP.hs server: Factor out authentication-related code into a new namespace, Hasura.Authentication. 2024-07-29 06:02:56 +00:00
ScheduledTrigger.hs INFRA-832: logs OTLP export 2023-09-13 16:49:55 +00:00