You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common.js
+59-35Lines changed: 59 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
6
6
http://aws.amazon.com/asl/
7
7
8
-
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.
8
+
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.
9
9
*/
10
10
11
11
varasync=require('async');
@@ -81,7 +81,10 @@ exports.createTables = function (dynamoDB, callback) {
81
81
KeyType: 'HASH'
82
82
}],
83
83
TableName: filesTable,
84
-
BillingMode: "PAY_PER_REQUEST"
84
+
ProvisionedThroughput: {
85
+
ReadCapacityUnits: 1,
86
+
WriteCapacityUnits: 5
87
+
}
85
88
};
86
89
varconfigKey=s3prefix;
87
90
varconfigSpec={
@@ -94,7 +97,10 @@ exports.createTables = function (dynamoDB, callback) {
94
97
KeyType: 'HASH'
95
98
}],
96
99
TableName: configTable,
97
-
BillingMode: "PAY_PER_REQUEST"
100
+
ProvisionedThroughput: {
101
+
ReadCapacityUnits: 1,
102
+
WriteCapacityUnits: 5
103
+
}
98
104
};
99
105
100
106
varbatchKey=batchId;
@@ -121,7 +127,10 @@ exports.createTables = function (dynamoDB, callback) {
Copy file name to clipboardExpand all lines: index.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@
5
5
6
6
http://aws.amazon.com/asl/
7
7
8
-
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.
8
+
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.
0 commit comments