Skip to content

Commit

Permalink
Increase CPUs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Jan 23, 2025
1 parent f029787 commit cc51900
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion functions/src/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ void main() {
final database = FirebaseAdmin.database.getDatabase();

exports['fetchPackageData'] = FirebaseFunctions.https.onRequest(
HttpsOptions(timeoutSeconds: 600.toJS, memory: '2GiB'.toJS),
HttpsOptions(
timeoutSeconds: 600.toJS,
memory: '2GiB'.toJS,
cpu: '4000m'.toJS,
),
(Request request, express.Response response) {
return promise(() => fetchPackageData(response));
}.toJS,
Expand Down

0 comments on commit cc51900

Please sign in to comment.