summaryrefslogtreecommitdiff
path: root/git/test/__init__.py
blob: a29d96a7b001d25ce12bdf6fbb2b2702f7a164bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# __init__.py
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
#
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php

import git.util

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