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;
@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?
Real time notifications are a good way to DOS your site accidentally. Best avoid.
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
// Ping for new notifications on pageload, and subsequently every 1 minute. pingForNotifications = function(wait) { if (!wait) wait = 60000;Then get your team to up it, you can override
pingForNotificationsIf 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); }it should be picked up by
InformMessageStackthe problem with polling is the effect get multiplied, you have a lot of of user that leave their tabs open.
Or someone like me that likes to open up every discussion in its own tab and close them as I read them.