Skip to content

Instantly share code, notes, and snippets.

View baljanak's full-sized avatar
🎯
Focusing

Balaji Janakiram baljanak

🎯
Focusing
View GitHub Profile
@baljanak
baljanak / ServerRack.py
Created September 18, 2012 10:40 — forked from denik/ServerRack.py
class for managing multiple servers in gevent
# Class for managing multiple servers or anything with start() and stop() methods
class ServerRack(object):
def __init__(self, servers):
self.servers = servers
def start(self):
started = []
try: