diff options
author | Cyril Chapellier <tchapi@users.noreply.github.com> | 2023-05-01 06:20:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 11:20:40 +0700 |
commit | 08cb311c554bdfd3ccaa846b6e3fbd1971b32310 (patch) | |
tree | 54b005bec180f104ba34f5a5aa3f1285bcc8f98c /rq/defaults.py | |
parent | 36f5c88ca21ff30fb799e7d10b2f7b9bef4e585a (diff) | |
download | rq-08cb311c554bdfd3ccaa846b6e3fbd1971b32310.tar.gz |
[Results] Allow unserializable return values (#1888)
* fix: allow unserializable return values
* fix: review comments
Diffstat (limited to 'rq/defaults.py')
-rw-r--r-- | rq/defaults.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rq/defaults.py b/rq/defaults.py index 2a3d57a..3744c12 100644 --- a/rq/defaults.py +++ b/rq/defaults.py @@ -93,4 +93,10 @@ https://docs.python.org/3/library/logging.html#logrecord-attributes DEFAULT_DEATH_PENALTY_CLASS = 'rq.timeouts.UnixSignalDeathPenalty' """ The path for the default Death Penalty class to use. Defaults to the `UnixSignalDeathPenalty` class within the `rq.timeouts` module +""" + + +UNSERIALIZABLE_RETURN_VALUE_PAYLOAD = 'Unserializable return value' +""" The value that we store in the job's _result property or in the Result's return_value +in case the return value of the actual job is not serializable """
\ No newline at end of file |