Changing iPipe at run time

Changing iPipe at run time

bidonbidon Posts: 28Questions: 0Answers: 0
edited March 2012 in General
How easy would it be to change iPipe in the pipelining at runtime? Basically, if the user changes the page size to super high, I want a smaller pipe.

If I add this logic, will the plugin calculate the data needs given its history correctly? It handles changing the page size now, but worried changing both will cause issues. Hoping to get guidance on how to resolve this. Maybe it works now, about to try. I'm afraid it won't.

There doesnt look like a direct way to know when the page size changes. I'd prefer to not blow away the cache to change the pipe, but that is an option

Any ideas on how to best proceed?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    I've not tried it, but looking at my code, it should cope fine with that. When there is no need for it to go to the server it will just keep using the old cache, but then when it needs to get new data from the server it will use your new pipe size - the calculation if it needs to go to the server or not doesn't depend on iPipe, just what is found in the cache.

    Allan
This discussion has been closed.