Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Should start from first bucket, not second.
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof A. Adamski committed May 31, 2008
1 parent d50b19e commit 3a66e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion func/forkbomb.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def batch_run(pool,callback,nforks=DEFAULT_FORKS,cachedir=DEFAULT_CACHE_DIR):
shelf_file = __get_storage(cachedir)
__access_buckets(shelf_file,True,None)
buckets = __bucketize(pool, nforks)
__forkbomb(1,buckets,callback,shelf_file)
__forkbomb(0,buckets,callback,shelf_file)
rc = __access_buckets(shelf_file,False,None)
os.remove(shelf_file)
return rc
Expand Down

0 comments on commit 3a66e1b

Please sign in to comment.