Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit dbc3bd7

Browse files
author
ivolo
committed
lowering concurrency to 1
1 parent 56d5175 commit dbc3bd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function Cohorter (key, options) {
2626
if (!(this instanceof Cohorter)) return new Cohorter(key, options);
2727
if (!key) throw new Error('Stripe cohort requires a Stripe key.');
2828
this.stripe = Stripe(key);
29-
this.options = defaults(options, { count: 100, concurrency: 20 });
29+
this.options = defaults(options, { count: 100, concurrency: 1 });
3030
var self = this;
3131
return function () { self.cohort.apply(self, arguments); };
3232
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stripe-cohort",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"main": "./lib",
55
"repository": "git://github.com/segmentio/stripe-cohort.git",
66
"license": "MIT",

0 commit comments

Comments
 (0)