Skip to content

Instantly share code, notes, and snippets.

View szilveszter's full-sized avatar

Szilveszter Farkas szilveszter

View GitHub Profile

Keybase proof

I hereby claim:

  • I am szilveszter on github.
  • I am szilveszter (https://keybase.io/szilveszter) on keybase.
  • I have a public key whose fingerprint is 54AE 7F62 1DB4 7397 0098 91E4 9871 4221 D1E8 74B8

To claim this, I am signing this object:

2011-09-28 12:48:25 [30857] [INFO] Listening at: http://0.0.0.0:82 (30857)
2011-09-28 12:48:25 [30857] [INFO] Using worker: eventlet
2011-09-28 12:48:25 [30862] [INFO] Booting worker with pid: 30862
2011-09-28 12:48:25 [30863] [INFO] Booting worker with pid: 30863
2011-09-28 12:48:25 [30864] [INFO] Booting worker with pid: 30864
2011-09-28 12:48:25 [30865] [INFO] Booting worker with pid: 30865
@szilveszter
szilveszter / gist:1247447
Created September 28, 2011 09:16
guncorn config
import os
if not hasattr(os, "sysconf"):
workers = 8 # I'm feeling lucky.
else:
workers = os.sysconf("SC_NPROCESSORS_ONLN") * 2
bind = "0.0.0.0:82"
worker_class = "eventlet"