title: Firebase push notification delay after triggering few high priority notifications
body: <p>I use Firebase high priority push notifications to trigger Panic alarms in Android devices. For first few tries of push, immediately push notifications arrives and it works great. But when i keep triggering push notifications after certain amount of time slowly delay keeps increasing.</p>
  <p>I want it to trigger immediately as it is Panic situation.</p>
  <p>I also followed <a href="https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message" rel="nofollow noreferrer">the documentation</a> which read:</p>
  <blockquote>
  <p><strong>High priority</strong>: FCM attempts to deliver high priority messages immediately, allowing the FCM service to wake a sleeping device when necessary and to run some limited processing (including very limited network access). High priority messages generally should result in user interaction with your app or its notifications. If FCM detects a pattern in which they don't, your messages may be de-prioritized. Android P introduced app standby buckets which limit the number of FCM high priority messages you can send to your app that don't result in the user using your app or viewing a notification. If, in response to a high priority message, a notification is displayed in a way that is visible to the user, then your app standby bucket quota will not be consumed by that message.</p>
  <p>Because a small portion of the Android mobile population are on high latency networks, avoid opening a connection to your servers before displaying a notification. Calling back to the server before the end of the allowed processing time may be risky for users on high latency networks. Instead, include the notification content in the FCM message and display it immediately. If you need to sync for additional in-app content on Android, you can schedule an FJD job or a JobIntentService to handle that in the background.</p>
  </blockquote>
  <p>How can I make sure high priority messages are triggered as soon as possible? May be within a minute in all cases.</p>