mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-23 12:26:03 +03:00
feat(aws): increase cpu and memory task
This commit is contained in:
parent
1a97d5ff57
commit
2ad2788046
@ -4,8 +4,8 @@
|
||||
{
|
||||
"name": "quivr",
|
||||
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:bada136312ad3497664c3562a36b263d43c89c53",
|
||||
"cpu": 256,
|
||||
"memory": 1024,
|
||||
"cpu": "512",
|
||||
"memory": "1024",
|
||||
"portMappings": [
|
||||
{
|
||||
"name": "quivr-5050-tcp",
|
||||
@ -91,7 +91,7 @@
|
||||
"requiresCompatibilities": [
|
||||
"FARGATE"
|
||||
],
|
||||
"cpu": "256",
|
||||
"cpu": "512",
|
||||
"memory": "1024",
|
||||
"runtimePlatform": {
|
||||
"cpuArchitecture": "X86_64",
|
||||
|
@ -4,7 +4,8 @@
|
||||
{
|
||||
"name": "quivr",
|
||||
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:c0ff0301002fe6d043270b26dabcfda797437afc",
|
||||
"cpu": 0,
|
||||
"cpu": "512",
|
||||
"memory": "1024",
|
||||
"portMappings": [
|
||||
{
|
||||
"name": "quivr-5050-tcp",
|
||||
@ -91,7 +92,7 @@
|
||||
"requiresCompatibilities": [
|
||||
"FARGATE"
|
||||
],
|
||||
"cpu": "256",
|
||||
"cpu": "512",
|
||||
"memory": "1024",
|
||||
"runtimePlatform": {
|
||||
"cpuArchitecture": "X86_64",
|
||||
|
@ -4,7 +4,8 @@
|
||||
{
|
||||
"name": "quivr-chat",
|
||||
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:600ff1ede02741c66853cc3e4e7f5001aaba3bc2",
|
||||
"cpu": 0,
|
||||
"cpu": "512",
|
||||
"memory": "1024",
|
||||
"essential": true,
|
||||
"command": [
|
||||
"celery",
|
||||
@ -81,7 +82,7 @@
|
||||
"requiresCompatibilities": [
|
||||
"FARGATE"
|
||||
],
|
||||
"cpu": "256",
|
||||
"cpu": "512",
|
||||
"memory": "1024",
|
||||
"runtimePlatform": {
|
||||
"cpuArchitecture": "X86_64",
|
||||
|
@ -4,7 +4,8 @@
|
||||
{
|
||||
"name": "quivr-chat",
|
||||
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:85ae06c82935028d828f60f35c7e0a47fdee1ff2",
|
||||
"cpu": 0,
|
||||
"cpu": "1024",
|
||||
"memory": "2048",
|
||||
"essential": true,
|
||||
"command": [
|
||||
"celery",
|
||||
@ -81,8 +82,8 @@
|
||||
"requiresCompatibilities": [
|
||||
"FARGATE"
|
||||
],
|
||||
"cpu": "256",
|
||||
"memory": "1024",
|
||||
"cpu": "1024",
|
||||
"memory": "2048",
|
||||
"runtimePlatform": {
|
||||
"cpuArchitecture": "X86_64",
|
||||
"operatingSystemFamily": "LINUX"
|
||||
|
@ -6,7 +6,7 @@ from models.databases.repository import Repository
|
||||
|
||||
class ApiKeyHandler(Repository):
|
||||
def __init__(self, supabase_client):
|
||||
self.db = supabase_client
|
||||
self.db = supabase_client # type: ignore
|
||||
|
||||
def create_api_key(self, new_key_id, new_api_key, user_id):
|
||||
response = (
|
||||
|
Loading…
Reference in New Issue
Block a user