I have tried disabling Adaptive Battery, unrestricting battery optimization, locking my apps, and all kinds of other tips that I read across the internet, but I still will not get notifications from apps like Facebook, Twitter, or Telegram until 10/20/30 minutes later. Discord for whatever reason never has any delays, however.