summaryrefslogtreecommitdiff
path: root/gitdb/test/__init__.py
blob: 760f531bee9e2ba353c94e2b6e23ab27bc1cef06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
#
# This module is part of GitDB and is released under
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php

import gitdb.util

#{ Initialization 
def _init_pool():
	"""Assure the pool is actually threaded"""
	size = 2
	print "Setting ThreadPool to %i" % size
	gitdb.util.pool.set_size(size)


#} END initialization