Skip to content

Commit e490313

Browse files
Merge pull request #5841 from segmentio/MStephen024-patch-9
Updated the Troubleshooting section with details on using Synchronous mode and Celery
2 parents 6549f1a + 29a17ea commit e490313

File tree

1 file changed

+3
-1
lines changed
  • src/connections/sources/catalog/libraries/server/python

1 file changed

+3
-1
lines changed

src/connections/sources/catalog/libraries/server/python/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,9 @@ easy_install --upgrade segment-analytics-python
624624

625625
*Experimental feature, available since `1.3.0b1`.*
626626

627-
In some cases, you will want to disable threads and send each request synchronously. To do so, you can use the `sync_mode` option:
627+
In some cases, you will want to disable threads and send each request synchronously. If your source is managing tasks asynchronously using software like [Celery](https://docs.celeryq.dev/en/stable/getting-started/introduction.html){:target="_blank”}, consider enabling this option to resolve potential conflicts with the Segment Python library's threading system.
628+
629+
To do so, you can use the `sync_mode` option:
628630

629631
```python
630632
import segment.analytics as analytics

0 commit comments

Comments
 (0)