优化结构
This commit is contained in:
@@ -30,6 +30,8 @@ type InitializationRepo interface {
|
||||
DiskMountPoints() []string
|
||||
}
|
||||
|
||||
// TaskReloader is the narrow scheduler boundary needed after configuration
|
||||
// changes. The consumer owns this interface; worker supplies the implementation.
|
||||
type TaskReloader interface {
|
||||
Reload(context.Context) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user