Want to take part in these discussions? Sign in if you have an account, or apply for one below
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
Just a quick message to say that I have made a fairly significant, though rather technical, change to the way that the asynchronous processing of pages which need to be re-rendered following a page edit (say because a missing link has now been filled, or because the edited page is included in it) is handled. Somewhat remarkably, I could not find an existing simple tool which does what I needed, which is to process jobs one at time in the order they arrive, in a thread-safe way, ideally persisting over deployments, and which is not a long-living process like a server or a socket or a queue in the usual sense, but is controlled by very short lived command line processes/involves only very short-lived threads on the server. I tried for some time to try to persuade Ruby to achieve this within the main nLab code, but found it impossible to do so properly, even if I sacrificed several of the requirements; I have noted in some earlier comments that there was some instability in what I did come up with.
Thus I have written my own little command line API for it, which is file-based (some care is needed to avoid race conditions in such an approach, but I believe I have something which does so), and I have now changed the renderer to call it. Initial testing seems to suggest that it is working, but just let me know if you encounter any strange behaviour.
When I get the chance, I will change the rendering of the actual page edited to be asynchronous as well, which will make timeout issues go away. This, however, necessitates a change in the user interface and some non-trivial work to connect things together, so it may take a little time.
1 to 1 of 1