Best practice for communication failure with file-based queue #199
-
I have a multi-threaded file-based queue. The Producer is a remote file. The remote file locations and connections vary. Using the multi-threaded test_queue as the example, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Any more information? |
Beta Was this translation helpful? Give feedback.
-
Using test_multi_threaded() as the example, one solution is to wrap the calling function (to test_multi_threaded()) with a retry decorator which re-executes it if it fails. Does this make sense? |
Beta Was this translation helpful? Give feedback.
-
Solved problem using sqlackqueue and propagating exception handling. |
Beta Was this translation helpful? Give feedback.
Solved problem using sqlackqueue and propagating exception handling.