bisakhmondal commented on pull request #1788: URL: https://github.com/apache/apisix-dashboard/pull/1788#issuecomment-841787048
@nic-chen Something just come up into my mind. Let me know what you think about it. Since our main goal is to create a single binary, we can tackle the issue (I've described earlier) by this way, step-1 `during build : ` it involves downloading the lua scripts and integrate it into a single binary. [now the lua package is in memory whenever the manager api will start] step-2 `running manager-api : ` whenever the binary of manager-api will be loaded into memory, along with jobs including writing pid file, ..., it will have another job that is writing the lua package into temporary directory (`os.TempDir()`). step-3 `cleanup during stop: ` Optional. Now, this approach won't affect the current way we are translating the Lua script. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
