Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#8543] Update Attachment masking job setup #8544

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

gbp
Copy link
Member

@gbp gbp commented Jan 20, 2025

Relevant issue(s)

Fixes #8543

See: rails/rails#53490

What does this do?

Update Attachment masking job setup

Why was this needed?

This change increase the Regexp.timeout from 1 sec to 60 secs.

This is needed since Rails 8.0 now defaults to 1 sec to stop possible DoS attacks. Since this is in a background job the timeout duration is less of a concern.

This change increase the `Regexp.timeout` from 1 sec to 60 secs.

This is needed since Rails 8.0 now defaults to 1 sec to stop possible
DoS attacks. Since this is in a background job the timeout duration is
less of a concern.

See: rails/rails#53490
Fixes #8543
@gbp gbp force-pushed the 8543-increase-regexp-timeout branch from 611fec0 to c12dc6d Compare January 20, 2025 14:50
@gbp gbp marked this pull request as ready for review January 20, 2025 14:50
@gbp gbp merged commit d57b209 into develop Jan 20, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ERROR] Sidekiq - Regexp::TimeoutError: regexp match timeout
1 participant