put a time limit on processing a transaction (bug 938320)
Merge pull request #371 from andymckay/938320

put a time limit on processing a transaction (bug 938320)