mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
configitems: register the 'web.maxshortchanges' config
This commit is contained in:
parent
5c68cc40ee
commit
6ea0289f11
@ -730,6 +730,9 @@ coreconfigitem('web', 'errorlog',
|
||||
coreconfigitem('web', 'ipv6',
|
||||
default=False,
|
||||
)
|
||||
coreconfigitem('web', 'maxshortchanges',
|
||||
default=60,
|
||||
)
|
||||
coreconfigitem('web', 'motd',
|
||||
default='',
|
||||
)
|
||||
|
@ -112,7 +112,7 @@ class requestcontext(object):
|
||||
|
||||
self.maxchanges = self.configint('web', 'maxchanges', 10)
|
||||
self.stripecount = self.configint('web', 'stripes')
|
||||
self.maxshortchanges = self.configint('web', 'maxshortchanges', 60)
|
||||
self.maxshortchanges = self.configint('web', 'maxshortchanges')
|
||||
self.maxfiles = self.configint('web', 'maxfiles', 10)
|
||||
self.allowpull = self.configbool('web', 'allowpull', True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user