diff options
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index f008f81a07..05f4556a48 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -82,6 +82,7 @@ var ( DeliverTimeout int SkipTLSVerify bool Types []string + PagingNum int } // Repository settings. @@ -601,6 +602,7 @@ func newWebhookService() { Webhook.DeliverTimeout = sec.Key("DELIVER_TIMEOUT").MustInt(5) Webhook.SkipTLSVerify = sec.Key("SKIP_TLS_VERIFY").MustBool() Webhook.Types = []string{"gogs", "slack"} + Webhook.PagingNum = sec.Key("PAGING_NUM").MustInt(10) } func NewServices() { |