List for cgit developers and users
 help / color / mirror / Atom feed
From: normalperson at yhbt.net (Eric Wong)
Subject: [PATCH (WIP)] limit CPU usage of cgit processes
Date: Wed, 21 Mar 2012 07:31:32 +0000	[thread overview]
Message-ID: <20120321073132.GA16961@dcvr.yhbt.net> (raw)
In-Reply-To: <4F6981E0.50909@hupie.com>

Ferry Huberts <mailings at hupie.com> wrote:
> how about using a robots.txt on your site?

I actually do want most cgit content to be searchable.
It's just that generating some pages is expensive and burns CPU.

I haven't had time to investigate which/why some pages are expensive,
but the SIGXCPU route will still save servers if there are unexpected
surprises.




      reply	other threads:[~2012-03-21  7:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21  1:52 normalperson
2012-03-21  7:23 ` mailings
2012-03-21  7:31   ` normalperson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120321073132.GA16961@dcvr.yhbt.net \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).