mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-03-12 20:06:52 +08:00
Feat: cancel upload session in slave node
This commit is contained in:
@@ -18,7 +18,7 @@ type ConstantBackoff struct {
|
||||
|
||||
func (c *ConstantBackoff) Next() bool {
|
||||
c.tried++
|
||||
if c.tried >= c.Max {
|
||||
if c.tried > c.Max {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user