you are on your own and x00 knows his stuff and warned..
Real time notifications are a good way to DOS your site accidentally. Best avoid.
this may be what you are looking for to change. If I am pointing you to the wrong place, I'm sure someone can correct me and point to the correct place just for curiousity sake, not saying its a good idea to change (just the place where the magic happens).
looks like milliseconds.
js/global.js
// Ping for new notifications on pageload, and subsequently every 1 minute.
pingForNotifications = function(wait) {
if (!wait)
wait = 60000;
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@zentido said:
I have a server for those capabilities, you can add notifications in real time?
Then get your team to up it, you can override pingForNotifications
If you just wanted your notification to come with the request, rather then waiting the initial period. Then you can use a pluigns/themehooks you could experiment with something like
public function Base_Render_Before($Sender){
NotificationsController::InformNotifications($Sender);
}
Comments
Welcome to the community!
Notifications and inform messages by default refresh every two minutes. This is accomplished by polling. Do you need it to be faster than that?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Real time notifications are a good way to DOS your site accidentally. Best avoid.
grep is your friend.
I have a server for those capabilities, you can add notifications in real time?
this may be what you are looking for to change. If I am pointing you to the wrong place, I'm sure someone can correct me and point to the correct place just for curiousity sake, not saying its a good idea to change (just the place where the magic happens).
looks like milliseconds.
js/global.js
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Then get your team to up it, you can override
pingForNotifications
If you just wanted your notification to come with the request, rather then waiting the initial period. Then you can use a pluigns/themehooks you could experiment with something like
it should be picked up by
InformMessageStack
grep is your friend.
the problem with polling is the effect get multiplied, you have a lot of of user that leave their tabs open.
grep is your friend.
Or someone like me that likes to open up every discussion in its own tab and close them as I read them.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.