-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run a single uploader service per process
Prior to this change, each individual service (proxy, app, SSH, db, etc) would spin up its own uploader service. If you are running multiple Teleport services in the same process, this means you get multiple uploaders all looking at the same directory, which can result in duplicate upload events in the audit log. Additionally, desktop access has (mistakenly) failed to set up this service, so desktop sessions would only be uploaded if you happened to also run some other service in the same process that does spin up the uploader. Solve these issues by centralizing the uploader service so that it runs once per process, and each Teleport service doesn't need to think about whether or not the service should run. Fixes #12549
- Loading branch information
Showing
3 changed files
with
39 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters