Add cache support for ssm-api

This commit is contained in:
世界
2025-06-10 21:14:56 +08:00
parent 756585fb2a
commit 407ee08d8a
6 changed files with 256 additions and 9 deletions

View File

@@ -134,7 +134,7 @@ func NewService(ctx context.Context, logger log.ContextLogger, tag string, optio
func (d *Service) Start(stage adapter.StartStage) error {
switch stage {
case adapter.StartStateStart:
config, err := readDERPConfig(d.configPath)
config, err := readDERPConfig(filemanager.BasePath(d.ctx, d.configPath))
if err != nil {
return err
}