From da35ba418abc5683d76466e2153715abe84a5072 Mon Sep 17 00:00:00 2001 From: dx-tan Date: Tue, 26 Dec 2023 10:41:36 +0700 Subject: [PATCH] Update: Build --- .gitignore | 2 ++ cope2n-ai-fi/.dockerignore | 1 + cope2n-api/fwd_api/celery_worker/client_connector.py | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d1da6cb..7cffb73 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ logs/ docker-compose_.yml cope2n-ai-fi/Dockerfile_old_work *.sql +*.sql +.env_prod diff --git a/cope2n-ai-fi/.dockerignore b/cope2n-ai-fi/.dockerignore index d38e621..b2ac9a7 100755 --- a/cope2n-ai-fi/.dockerignore +++ b/cope2n-ai-fi/.dockerignore @@ -1,6 +1,7 @@ .github .git .vscode +packages/ __pycache__ DataBase/image_temp/ DataBase/json_temp/ diff --git a/cope2n-api/fwd_api/celery_worker/client_connector.py b/cope2n-api/fwd_api/celery_worker/client_connector.py index db411a6..3ff8f88 100755 --- a/cope2n-api/fwd_api/celery_worker/client_connector.py +++ b/cope2n-api/fwd_api/celery_worker/client_connector.py @@ -46,7 +46,7 @@ class CeleryConnector: def upload_obj_to_s3(self, args): return self.send_task('upload_obj_to_s3', args) def remove_local_file(self, args): - return self.send_task('remove_local_file', args, countdown=600) # nearest execution of this task in 10 minutes + return self.send_task('remove_local_file', args, countdown=280) # nearest execution of this task in 280 seconds def process_fi(self, args): return self.send_task('process_fi_invoice', args) def process_fi_result(self, args):