MCPcopy
hub / github.com/getsentry/sentry / process_batch

Function process_batch

src/sentry/issues/run.py:107–115  ·  view source on GitHub ↗
(
    worker: ContextPropagatingThreadPoolExecutor, messages: Message[ValuesBatch[KafkaPayload]]
)

Source from the content-addressed store, hash-verified

105
106
107def process_batch(
108 worker: ContextPropagatingThreadPoolExecutor, messages: Message[ValuesBatch[KafkaPayload]]
109) -> None:
110 from sentry.issues.occurrence_consumer import process_occurrence_batch
111
112 try:
113 process_occurrence_batch(worker, messages)
114 except Exception:
115 logger.exception("failed to process batch payload")

Callers

nothing calls this directly

Calls 1

process_occurrence_batchFunction · 0.90

Tested by

no test coverage detected