##// END OF EJS Templates
configitems: register the 'web.maxshortchanges' config
Boris Feld -
r34589:0d9928a6 default
parent child Browse files
Show More
@@ -730,6 +730,9 b" coreconfigitem('web', 'errorlog',"
730 coreconfigitem('web', 'ipv6',
730 coreconfigitem('web', 'ipv6',
731 default=False,
731 default=False,
732 )
732 )
733 coreconfigitem('web', 'maxshortchanges',
734 default=60,
735 )
733 coreconfigitem('web', 'motd',
736 coreconfigitem('web', 'motd',
734 default='',
737 default='',
735 )
738 )
@@ -112,7 +112,7 b' class requestcontext(object):'
112
112
113 self.maxchanges = self.configint('web', 'maxchanges', 10)
113 self.maxchanges = self.configint('web', 'maxchanges', 10)
114 self.stripecount = self.configint('web', 'stripes')
114 self.stripecount = self.configint('web', 'stripes')
115 self.maxshortchanges = self.configint('web', 'maxshortchanges', 60)
115 self.maxshortchanges = self.configint('web', 'maxshortchanges')
116 self.maxfiles = self.configint('web', 'maxfiles', 10)
116 self.maxfiles = self.configint('web', 'maxfiles', 10)
117 self.allowpull = self.configbool('web', 'allowpull', True)
117 self.allowpull = self.configbool('web', 'allowpull', True)
118
118
General Comments 0
You need to be logged in to leave comments. Login now