0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-12 11:32:32 +02:00

Added ENABLE_SIZE_LIMIT config option

This commit is contained in:
truecode112 2023-05-15 06:24:17 +03:00 committed by DmitryFrolovTri
parent 1765ea329b
commit a22b73866a

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"`