-
Notifications
You must be signed in to change notification settings - Fork 0
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
Set blacklisted exceptions #12
base: skroutz
Are you sure you want to change the base?
Commits on Aug 5, 2019
-
Introduce BlacklistExceptionsRegistrar module
This commit introduces a new module for accessing a class variable named `blacklist`. This class variable represents exceptions that will not be pushed to the failed queue when a job fails with an exception that is included in the blacklist. Every class that includes this module can access/manipulate its `blacklist` class variable. Also it adds a method called `blacklisted_exception_raised?` which checks if the raised exception belongs to the backend's blacklisted exceptions.
Configuration menu - View commit details
-
Copy full SHA for be5d6ed - Browse repository at this point
Copy the full SHA be5d6edView commit details -
Failure::Base: Include the BlacklistExceptionsRegistrar module
This commit allows Resque::Failure::Base to include the module BlacklistExceptionsRegistrar and by extension allowing every descendant of base class to manipulate its `blacklist` class variable.
Configuration menu - View commit details
-
Copy full SHA for 35ca212 - Browse repository at this point
Copy the full SHA 35ca212View commit details -
Failure::Redis: Use blacklisted exceptions on save
This commit uses the `blacklisted_exception_raised?`, provided by the BlacklistExceptionsRegistrar module, to determine if the raised exception of the failed job is a blacklisted exception and by extension if the job should be pushed to the failed queue or not.
Configuration menu - View commit details
-
Copy full SHA for 1fb9dfc - Browse repository at this point
Copy the full SHA 1fb9dfcView commit details -
Failure::RedisMultiQueue: Use blacklisted exceptions on save
This commit uses the `blacklisted_exception_raised?`, provided by the BlacklistExceptionsRegistrar module, to determine if the raised exception of the failed job is a blacklisted exception and by extension if the job should be pushed to the failed queue or not.
Configuration menu - View commit details
-
Copy full SHA for 3366d76 - Browse repository at this point
Copy the full SHA 3366d76View commit details -
Failure::Multiple: Use blacklisted exceptions on save
This commit uses the `blacklisted_exception_raised?`, provided by the BlacklistExceptionsRegistrar module, to determine if the save method of a respective backend should be called or not if a failed job with a given exception occurs.
Configuration menu - View commit details
-
Copy full SHA for ad33827 - Browse repository at this point
Copy the full SHA ad33827View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3d7b80 - Browse repository at this point
Copy the full SHA d3d7b80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ff4dad - Browse repository at this point
Copy the full SHA 4ff4dadView commit details