From 9e380ed4b6750bb871094148e97b6f3ccb79db1d Mon Sep 17 00:00:00 2001 From: Rexios Date: Wed, 22 Jan 2025 20:15:06 -0500 Subject: [PATCH] Max instances --- functions/src/index.dart | 1 + pubspec.lock | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/functions/src/index.dart b/functions/src/index.dart index 0d78980..678f261 100644 --- a/functions/src/index.dart +++ b/functions/src/index.dart @@ -40,6 +40,7 @@ void main() { memory: '2GiB'.toJS, cpu: 4.toJS, ingressSettings: 'ALLOW_INTERNAL_ONLY'.toJS, + maxInstances: 1.toJS, ), (Request request, express.Response response) { return promise(() => fetchPackageData(response)); diff --git a/pubspec.lock b/pubspec.lock index f234948..970daee 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -320,11 +320,12 @@ packages: source: hosted version: "2.0.0" discord_interactions: - dependency: "direct overridden" + dependency: transitive description: - path: "../discord_interactions" - relative: true - source: path + name: discord_interactions + sha256: "5e994dfd6e652dd1f2d02982302ded9c24a6ec5baf8668dd02bd7337e3fbd942" + url: "https://pub.dev" + source: hosted version: "0.0.23" equatable: dependency: transitive