mirror of https://github.com/embarklabs/embark.git
46511bcfe8
After the code was rebased, there were some additional changes for getting websockets logs that needed to be catered for. When there is a call to get all logs for a process, the state entity is updated with a new array item containing all the logs (this is then reduced and selected for rendering). In the case of a websocket log that simply returns only one log item, the latest full log for the process is found in the state entities, and it’s logs are appending to with the data from the websocket. Additionally, log limits were updated to be passed in as a parameter to the API calls from the frontend. Parameter validation (for `limit`) was also added in this commit. |
||
---|---|---|
.. | ||
i18n | ||
modules/coderunner | ||
processes | ||
config.js | ||
core.js | ||
engine.js | ||
events.js | ||
file.js | ||
fs.js | ||
ipc.js | ||
logger.js | ||
plugin.js | ||
plugins.js | ||
services_monitor.js |