You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am playing around with workers with different Python versions. One of the pitfalls is the pickle protocol version used. For python3.4 rq uses the highest available protocol version (4) but python2.7 only understand up to 2. This can be fixed by using a custom Job class and forcing python3.4 to use protocol version 2 but it's rather awkward.
I managed to use a custom Job class (overwriting the dumps method) to overcome this issue but exposing this as a flag might be more convenient.
The text was updated successfully, but these errors were encountered:
I am playing around with workers with different Python versions. One of the pitfalls is the pickle protocol version used. For python3.4 rq uses the highest available protocol version (4) but python2.7 only understand up to 2. This can be fixed by using a custom Job class and forcing python3.4 to use protocol version 2 but it's rather awkward.
I managed to use a custom Job class (overwriting the dumps method) to overcome this issue but exposing this as a flag might be more convenient.
The text was updated successfully, but these errors were encountered: