diff --git a/internal/libraryagent/agent.go b/internal/libraryagent/agent.go index 9b32db6..315b60e 100644 --- a/internal/libraryagent/agent.go +++ b/internal/libraryagent/agent.go @@ -37,17 +37,17 @@ type Config struct { JournalRoot string // Writer declaration passed to the binary, exactly as reviewed in // scripts/library-capture.sh. Clients cannot influence it. - SourceApp string - SourcePG string - SourceES string + SourceApp string + SourcePG string + SourceES string // SourceS3Endpoint 让宿主机用可达地址读源对象存储:容器 env 里的端点常常 // 只是服务名(minio:9000),宿主机解析不到,资源导出会失败。 SourceS3Endpoint string - GovernancePG string - Project string - Writers string - NonWriters string - MaxDuration time.Duration + GovernancePG string + Project string + Writers string + NonWriters string + MaxDuration time.Duration // StopGrace bounds the graceful stop of one operation: SIGTERM first (the // child aborts the maintenance window and restores writers), then SIGKILL // only after this grace period. It must exceed the child's own restore budget.