'AWS Amplify Subscription is making the application stuck

We have implemented the AWS amplify subscription to listen to events coming from server. In scenarios when hundreds of subscription comes in the application is getting stuck. Is there any limit on the number of subscription the application can handle?

Also, we are making API calls in response to these events. Can many API calls make the application stuck ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source