02-13-2023 13:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-13-2023 13:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello, we are noticing some of the subscriptions notifications we are getting are causing race conditions in our system due to the speed and frequency of the notifications. In the example below taken from our logging we received two separate subscription notifications within .1 ms of each other for the same user. It was my understanding that subscription notifications to our system for intraday steps should come in batches but nothing this close together in time. This occurs a few times a week for different users.
*User, subscription id, and date changed for security.
{
"id": 150830,
"date_created": "xxxx-xx-xx 18:22:10.1232560",
"date_updated": "xxxx-xx-xx 18:22:10.1233160",
"data": "['Log POST', {'collectionType': 'activities', 'date': 'xxxx-xx-xx, 'ownerId': '456789', 'ownerType': 'user', 'subscriptionId': '1234'}]"
}
{
"id": 150829,
"date_created": "xxxx-xx-xx 18:22:10.0258460",
"date_updated": "xxxx-xx-xx 18:22:10.0259120",
"data": "['Log POST', {'collectionType': 'activities', 'date': 'xxxx-xx-xx', 'ownerId': '456789', 'ownerType': 'user', 'subscriptionId': '1234'}]"
}

- Labels:
-
Subscriptions API
