Added ENABLE_SIZE_LIMIT config option

This commit is contained in:
truecode112
2023-05-15 17:02:53 +00:00
committed by DmitryFrolovTri
parent 1765ea329b
commit a22b73866a
+1
View File
@@ -164,6 +164,7 @@ type Repository struct {
TemplateID int64 `xorm:"INDEX"`
Size int64 `xorm:"NOT NULL DEFAULT 0"`
SizeLimit int64 `xorm:"NOT NULL DEFAULT 0"`
EnableSizeLimit bool `xorm:"NOT NULL DEFAULT true"`
CodeIndexerStatus *RepoIndexerStatus `xorm:"-"`
StatsIndexerStatus *RepoIndexerStatus `xorm:"-"`
IsFsckEnabled bool `xorm:"NOT NULL DEFAULT true"`