maxReconnectOnClose

UI Components for JSF
Post Reply
aaroncirillo
Posts: 2
Joined: 30 Aug 2014, 00:09

30 Jan 2015, 02:06

Hi, I am trying to find a way to affect the value of maxReconnectOnClose. This seems to be set to 5 by default in push.js and I see no way to change the value. I want my application to keep polling and that is currently not happening, it stops when it reaches the limit of 5 that has been set. I would rather not edit push.js if I don't have to. I am using primefaces 5.1 and atmosphere 2.2.3 on Jboss EAP 6.1.

Thanks

aaroncirillo
Posts: 2
Joined: 30 Aug 2014, 00:09

30 Jan 2015, 18:38

So I ended up modifying push.js. It would be great if there was another way to affect the value of maxReconnectOnClose without modifying the primefaces javascript.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

31 Jan 2015, 13:25

Well, creating a patch that makes it available as an attribute on the push/socket tag and that 'pushes' (no pun intended) it to the clientside in the js AND filing this patch with an issue in the issuelist would help increasing the chance of getting this into PF (besides going Pro)...

Cheers

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 31 guests