cap-js-community / event-queue

An event queue that enables secure multi-tenant enabled transactional processing of asynchronous events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.
https://cap-js-community.github.io/event-queue/
Apache License 2.0
11 stars 1 forks source link

skip processing of outboxed events is the configuration is not known #202

Open soccermax opened 1 week ago

soccermax commented 1 week ago
const _executeEventsAllTenants = async (tenantIds, runId) => {
    if (!events.length) {
      continue;
    }

    promises.concat(
      events.map(async (openEvent) => {
        const eventConfig = config.getEventConfig(openEvent.type, openEvent.subType);

        if(!eventConfig) {
          return;
        }