doc/administration/settings/sidekiq.md
{{< details >}}
{{< /details >}}
Configure Sidekiq job size limits and the time zone used to evaluate cron job schedules.
Prerequisites:
To access these settings:
Sidekiq stores jobs in Redis. To avoid excessive Redis memory usage, GitLab:
To adjust the compression threshold or size limit, update the values. To disable compression, select the Track mode.
| Setting | Default | Description |
|---|---|---|
| Limiting mode | Compress | This mode compresses the jobs at the specified threshold and rejects them if they exceed the specified limit after compression. |
| Sidekiq job compression threshold (bytes) | 100 000 (100 KB) | When the size of arguments exceeds this threshold, they are compressed before being stored in Redis. |
| Sidekiq job size limit (bytes) | 0 | The jobs exceeding this size after compression are rejected. This avoids excessive memory usage in Redis leading to instability. Setting it to 0 prevents rejecting jobs. |
After you change these values, restart Sidekiq.
By default, GitLab evaluates cron job schedules in the instance time zone, which is UTC unless configured otherwise. To run cron jobs in a different time zone, set a time zone override.
To set the time zone:
After you change this value, restart Sidekiq.