feature: Adds basic data command support.
This commit is contained in:
parent
ede4d528aa
commit
17e1491f96
14 changed files with 2241 additions and 195 deletions
|
@ -18,7 +18,7 @@ type BackendApplicationHelper struct {
|
|||
|
||||
func (helper *BackendApplicationHelper) Start() error {
|
||||
log.Debug("BackendApplicationHelper is starting")
|
||||
err := configureAndLaunchBackgroundProfilingTasks()
|
||||
err := ConfigureProfiling()
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
@ -4,6 +4,6 @@ package backendutil
|
|||
|
||||
var endProfileFunc func()
|
||||
|
||||
func configureAndLaunchBackgroundProfilingTasks() error {
|
||||
func ConfigureProfiling() error {
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
"golang.org/x/exp/rand"
|
||||
)
|
||||
|
||||
func configureAndLaunchBackgroundProfilingTasks() error {
|
||||
func ConfigureProfiling() error {
|
||||
profilingMode, err := os.ReadFile("/tmp/hermes.backendlauncher.profilebackends")
|
||||
|
||||
if err != nil && errors.Is(err, os.ErrNotExist) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue