You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the line that does "primus.save()" the directory that Eureca is installed into cannot be a completely read-only directory. We install our node installation and key libraries to read-only directories for sharing. Also it seems wasteful or at least inefficient to do that all the time when the data does not change.
Thanks for listening and thanks for Eureca. Great job.
The text was updated successfully, but these errors were encountered:
actually, this is not eureca but primus (the library that eureca.io depends on).
and it's understandable since it wrap many transport libraries, each one require specific client JS.
primus generates the right javascript and save it so it don't need to generate it again.
I think that primus.save() is only executed once when the server starts and the first client require the library, if a new client connects, it'll serve the existing file.
this is also useful to make updates seamless ; sometimes when 3rd party libraries release new versions, the client library script change, and you need to update it, primus use the .save() to handle that for you.
I'll check this primus piece of code closely to see if there is a possibility to disable it from external library, if so, I can add this switch to eureca to let the developer disable it if he want.
Due to the line that does "primus.save()" the directory that Eureca is installed into cannot be a completely read-only directory. We install our node installation and key libraries to read-only directories for sharing. Also it seems wasteful or at least inefficient to do that all the time when the data does not change.
Thanks for listening and thanks for Eureca. Great job.
The text was updated successfully, but these errors were encountered: