Skip to content

Don't compress job arguments twice

Bob Van Landuyt requested to merge bvl-fix-double-job-compression into master

What does this MR do?

When a job is scheduled in the future, it runs through the client middleware twice. Once on scheduling, once when queueing.

Since the args key of the job would already be compressed at this time, we don't need to compress it some more. Doing so would cause the decompression to fail on the serverside.

For gitlab-com/gl-infra/scalability#1176 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Bob Van Landuyt

Merge request reports

Loading