File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -529,14 +529,14 @@ def test_celery_task_different_processes():
529
529
def test_celery_task_in_transaction_different_processes ():
530
530
"""
531
531
This test demonstrates the limitations of the agent with regards
532
- to multiprocessing, namely when it involves transactions in a main
532
+ to multiprocessing, namely when it involves transactions in a main
533
533
process and worker processes.
534
-
535
- Two tasks are executed, one in the main process and one in a worker
536
- process. A transaction (background task) is created in the context
537
- of the main process. The worker process will not be aware of this
534
+
535
+ Two tasks are executed, one in the main process and one in a worker
536
+ process. A transaction (background task) is created in the context
537
+ of the main process. The worker process will not be aware of this
538
538
transaction.
539
-
539
+
540
540
The result is two transactions:
541
541
1. Main process: Background task transaction with `add` task as a trace
542
542
2. Worker process: `add_with_run` transaction with no additional traces
You can’t perform that action at this time.
0 commit comments