mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-11-03 20:39:32 +08:00
Fix: attr field overflow when downloading large torrent (#941)
This commit is contained in:
@ -19,7 +19,7 @@ type Download struct {
|
||||
GID string `gorm:"size:32,index:gid"` // 任务ID
|
||||
Speed int // 下载速度
|
||||
Parent string `gorm:"type:text"` // 存储目录
|
||||
Attrs string `gorm:"size:65535"` // 任务状态属性
|
||||
Attrs string `gorm:"size:4294967295"` // 任务状态属性
|
||||
Error string `gorm:"type:text"` // 错误描述
|
||||
Dst string `gorm:"type:text"` // 用户文件系统存储父目录路径
|
||||
UserID uint // 发起者UID
|
||||
|
||||
Reference in New Issue
Block a user