gitweb: Add startup delay to activity indicator for cachegitweb/cache-kernel-v4
commited12b3a3baebf1423cf8395d5ed3953dabb70d1e
authorJakub Narebski <jnareb@gmail.com>
Mon, 14 Jun 2010 11:49:29 +0000 (14 13:49 +0200)
committerJakub Narebski <jnareb@gmail.com>
Mon, 14 Jun 2010 11:49:29 +0000 (14 13:49 +0200)
treeed2303fb1f476ef181b0e79167e14db501e491e8
parentcd43204a7ed47ddfd5db8444128a3bcf204235c3
gitweb: Add startup delay to activity indicator for cache

This adds support for [optional] startup delay to git_generating_data_html()
subroutine, which is used to provide "Generating..." page as activity
indicator when waiting for page to be generated if caching.  If the data
(page contents) gets generated within $generating_options{'staryp_delay'}
seconds, the "Generating..." page won't get displayed.

This feature was created in response to complaint by Petr 'Pasky' Baudis'
about "Generating..." feature.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
gitweb/gitweb.perl