Re: gitweb is no longer a real-time view

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: gitweb is no longer a real-time view
Дата
Msg-id 20130304023335.GH16142@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: gitweb is no longer a real-time view  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: gitweb is no longer a real-time view
Список pgsql-www
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> cron job?  I was under the impression there was some sort of push
> operation driven by a commit trigger.  The web site has certainly
> updated nearly immediately for as long as we've been using git.
> Until this week, that is.

Curiously, there's two cron jobs, apparently.  There's a 'push' one and
then another, independent, 'pull' one.  I'll assume they're actually
doing different things, but I wonder if the pull isn't just a
hold-over..  In any case, the push-to-anon, which I hadn't seen
initially (looking at the pull side instead of the push side), does run
once a minute, though it looks like there's a hook mechanism which
would allow us to trigger the webserver to do a pull when a commit
happens and would still be better than a once-a-minute cronjob.

Even with that, however, the concern raised was that the gitweb perl
script is quite expensive to run for every request, hence the reason for
doing the cacheing.  I've lowered the varnish cacheing to a 5m ttl and
15m grace and I'll keep an eye on it.
Thanks,
    Stephen

В списке pgsql-www по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: gitweb is no longer a real-time view
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: gitweb is no longer a real-time view