diff --git a/client-rs b/client-rs index 9823eac7014..6d9cdbf968d 160000 --- a/client-rs +++ b/client-rs @@ -1 +1 @@ -Subproject commit 9823eac7014526e8639193735b9c4e3e9f795cfd +Subproject commit 6d9cdbf968d98e2a421c5bf20b9e3ac80143e0ef diff --git a/go.mod b/go.mod index 0eac1f2674a..5fadb33c0cd 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module d7y.io/dragonfly/v2 go 1.23.0 require ( - d7y.io/api/v2 v2.0.177 + d7y.io/api/v2 v2.1.4 github.com/MysteriousPotato/go-lockable v1.0.0 github.com/RichardKnop/machinery v1.10.8 github.com/Showmax/go-fqdn v1.0.0 diff --git a/go.sum b/go.sum index e625a60e91b..65b479eb87a 100644 --- a/go.sum +++ b/go.sum @@ -53,8 +53,8 @@ cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0Zeo cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -d7y.io/api/v2 v2.0.177 h1:iC+Jm4n7lKs3N1JIO25XOdtELbKSlis85LEoGbYlp98= -d7y.io/api/v2 v2.0.177/go.mod h1:+l4ErhthKmcIhcRU6F01Km8q+yDyICF7JImefg0t6HY= +d7y.io/api/v2 v2.1.4 h1:mggiXUbJ29uGk97MU1bBoi5QdZhyjILQX1krCkvYBho= +d7y.io/api/v2 v2.1.4/go.mod h1:UsTlWa7mE9sk90KqKk6ZWQgXGWNDDpM8dsp8BZnz2d4= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= diff --git a/scheduler/job/job.go b/scheduler/job/job.go index c748515ac9b..8fa2c36e17b 100644 --- a/scheduler/job/job.go +++ b/scheduler/job/job.go @@ -307,6 +307,7 @@ func (j *job) preheatAllSeedPeers(ctx context.Context, taskID string, req *inter RequestHeader: req.Headers, Timeout: durationpb.New(req.Timeout), CertificateChain: req.CertificateChain, + LoadToCache: true, }}) if err != nil { log.Errorf("preheat failed: %s", err.Error()) @@ -448,6 +449,7 @@ func (j *job) preheatAllPeers(ctx context.Context, taskID string, req *internalj RequestHeader: req.Headers, Timeout: durationpb.New(req.Timeout), CertificateChain: req.CertificateChain, + LoadToCache: true, }}) if err != nil { log.Errorf("preheat failed: %s", err.Error()) @@ -590,6 +592,7 @@ func (j *job) preheatV2(ctx context.Context, taskID string, req *internaljob.Pre FilteredQueryParams: filteredQueryParams, RequestHeader: req.Headers, CertificateChain: req.CertificateChain, + LoadToCache: true, }}) if err != nil { log.Errorf("preheat failed: %s", err.Error())