forked from TrueCloudLab/frostfs-s3-gw
[#644] Support keepalive during listing
Send whitespaces every time as new object in list is ready to prevent client from context cancelling. Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
776fd042ef
commit
07b60b15b3
13 changed files with 309 additions and 17 deletions
|
@ -154,6 +154,10 @@ func (c *configMock) TLSTerminationHeader() string {
|
|||
return c.tlsTerminationHeader
|
||||
}
|
||||
|
||||
func (c *configMock) ListingKeepaliveThrottle() time.Duration {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (c *configMock) putLocationConstraint(constraint string) {
|
||||
c.placementPolicies[constraint] = c.defaultPolicy
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue