mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-25 09:57:51 +08:00
[Feature][Docs] Adjust prefill release & expose load metrics (#6884)
This commit is contained in:
@@ -19,6 +19,10 @@ func (m *mockManagerAPI) GetMetrics(ctx context.Context, url string) (int, int,
|
||||
return 0, 0, 0 // 返回默认值用于测试
|
||||
}
|
||||
|
||||
func (m *mockManagerAPI) GetRemoteMetrics(ctx context.Context, url string) (int, int, int) {
|
||||
return 0, 0, 0 // 返回默认值用于测试
|
||||
}
|
||||
|
||||
func TestSchedulerInit(t *testing.T) {
|
||||
cfg := &config.Config{
|
||||
Scheduler: config.SchedulerConfig{
|
||||
|
||||
Reference in New Issue
Block a user