Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/sentry/profiles/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
from sentry.silo.base import SiloMode
from sentry.tasks.base import instrumented_task
from sentry.taskworker.config import TaskworkerConfig
from sentry.taskworker.constants import CompressionType
from sentry.taskworker.namespaces import ingest_profiling_tasks
from sentry.taskworker.retry import Retry
from sentry.utils import json, metrics
Expand Down Expand Up @@ -137,6 +138,7 @@ def encode_payload(message: dict[str, Any]) -> str:
times=2,
delay=5,
),
compression_type=CompressionType.ZSTD,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'll end up double zipping here as the profiles consumer will do one zip, and then the taskworker system will zip again. This isn't ideal, but as an intermediary step it should be ok. We should test this locally to make sure we're not going to break the tasks.

),
)
def process_profile_task(
Expand Down
Loading