Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many refreshes #10

Open
seppzzz opened this issue Oct 24, 2016 · 2 comments
Open

Too many refreshes #10

seppzzz opened this issue Oct 24, 2016 · 2 comments

Comments

@seppzzz
Copy link

seppzzz commented Oct 24, 2016

Silverstripe 3.4
every time the whole site(CMS) is saved, a new "refresh-instance" is added.
$GridFieldConfig->addComponent(new GridFieldAjaxRefresh(60000, true));
should refresh every minute.
After each saving multiple refreshes are triggered. One for each saving.
E.g. 3 savings will lead into 4 refreshes each minute.

it also would be handy if the initial reloadGridTimeout() - function would be synced to minute-start
i have no idea; maybe something like:

/*setInterval(function() {
if ( new Date().getSeconds() === 0 ) reloadGridTimeout();
},1000);*/
@dhensby
Copy link
Contributor

dhensby commented Nov 2, 2016

Thanks for taking the time to post to our issue tracker.

This repository is in the SilverStripe Archive which means it's a module we no longer actively support.

We're looking more to the community to provide support for these modules if users want to continue to use them.

Would you be willing to spend the time submitting a patch for this issue?

@seppzzz
Copy link
Author

seppzzz commented Nov 3, 2016

Hi Daniel!
I really would if i could.
But thats beyond my programming-skills.
Cheers. tillzzz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants