sapling/mercurial/hgweb
Gregory Szorc 6e680ddd62 hgweb: make refresh interval configurable
hgwebdir refreshes the set of known repositories periodically. This
is necessary because refreshing on every request could add significant
request latency.

More than once I've found myself wanting to tweak this interval at
Mozilla. I've also wanted the ability to always refresh (often when
writing tests for our replication setup).

This patch makes the refresh interval configurable. Negative values
indicate to always refresh. The default is left unchanged.
2015-08-22 22:59:51 -07:00
..
__init__.py hgweb: make hgweb.hgweb a unified interface to hgweb/hgwebdir 2010-04-26 11:03:40 -05:00
common.py hgweb: drop the default argument for get_stat 2015-07-03 10:07:51 -07:00
hgweb_mod.py hgweb: allow symbolic revisions with forward slashes in urls 2015-07-12 16:06:57 +08:00
hgwebdir_mod.py hgweb: make refresh interval configurable 2015-08-22 22:59:51 -07:00
protocol.py wireproto: introduce an abstractserverproto class 2014-03-28 11:10:33 -07:00
request.py global: mass rewrite to use modern exception syntax 2015-06-23 22:20:08 -07:00
server.py global: mass rewrite to use modern exception syntax 2015-06-23 22:20:08 -07:00
webcommands.py global: mass rewrite to use modern exception syntax 2015-06-23 22:20:08 -07:00
webutil.py style: adjust whitespaces in webutil.py 2015-08-11 13:19:42 +08:00
wsgicgi.py hgweb.cgi: fix internal WSGI emulation (issue3804) 2013-02-04 23:25:25 +01:00