aws-samples / pcluster-manager

Manage AWS ParallelCluster through an easy to use web interface
https://pcluster.cloud
Apache License 2.0
65 stars 27 forks source link

Buffer logs sent from the frontend #447

Closed mtfranchetto closed 1 year ago

mtfranchetto commented 1 year ago

Description

Introduces a buffering logic when sending logs from the client to the server. Logs are sent to the server when 20 logs have been collected or after 5 seconds.

How Has This Been Tested?

Locally by using the portal and verified that logs are sent in chunks

PR Quality Checklist

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.