feat(crons): reorganized crons
This commit is contained in:
parent
2b4e5a5121
commit
ef2f6a90b9
10 changed files with 7 additions and 10 deletions
|
|
@ -11,8 +11,7 @@ from starlette.responses import StreamingResponse
|
|||
from chalicelib.utils import helper
|
||||
from chalicelib.utils import pg_client
|
||||
from routers import core, core_dynamic
|
||||
from routers.crons import core_crons
|
||||
from routers.crons import core_dynamic_crons
|
||||
from crons import core_crons, core_dynamic_crons
|
||||
from routers.subs import insights, metrics, v1_api, health
|
||||
|
||||
loglevel = config("LOGLEVEL", default=logging.INFO)
|
||||
|
|
|
|||
4
ee/api/.gitignore
vendored
4
ee/api/.gitignore
vendored
|
|
@ -244,7 +244,7 @@ Pipfile.lock
|
|||
/chalicelib/utils/strings.py
|
||||
/chalicelib/utils/TimeUTC.py
|
||||
/routers/app/__init__.py
|
||||
/routers/crons/__init__.py
|
||||
/crons/__init__.py
|
||||
/routers/subs/__init__.py
|
||||
/routers/__init__.py
|
||||
/chalicelib/core/assist.py
|
||||
|
|
@ -253,7 +253,7 @@ Pipfile.lock
|
|||
/build.sh
|
||||
/routers/base.py
|
||||
/routers/core.py
|
||||
/routers/crons/core_crons.py
|
||||
/crons/core_crons.py
|
||||
/db_changes.sql
|
||||
/Dockerfile_bundle
|
||||
/entrypoint.bundle.sh
|
||||
|
|
|
|||
|
|
@ -15,9 +15,7 @@ from chalicelib.utils import events_queue
|
|||
from chalicelib.utils import helper
|
||||
from chalicelib.utils import pg_client
|
||||
from routers import core, core_dynamic, ee, saml
|
||||
from routers.crons import core_crons
|
||||
from routers.crons import core_dynamic_crons
|
||||
from routers.crons import ee_crons
|
||||
from crons import core_crons, ee_crons, core_dynamic_crons
|
||||
from routers.subs import insights, metrics, v1_api_ee
|
||||
from routers.subs import v1_api, health
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ print("============= CRONS =============")
|
|||
import asyncio
|
||||
import sys
|
||||
|
||||
from routers.crons import core_dynamic_crons
|
||||
from crons import core_dynamic_crons
|
||||
|
||||
ACTIONS = {
|
||||
"TELEMETRY": core_dynamic_crons.telemetry_cron,
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ rm -rf ./chalicelib/utils/sql_helper.py
|
|||
rm -rf ./chalicelib/utils/strings.py
|
||||
rm -rf ./chalicelib/utils/TimeUTC.py
|
||||
rm -rf ./routers/app/__init__.py
|
||||
rm -rf ./routers/crons/__init__.py
|
||||
rm -rf ./crons/__init__.py
|
||||
rm -rf ./routers/subs/__init__.py
|
||||
rm -rf ./routers/__init__.py
|
||||
rm -rf ./chalicelib/core/assist.py
|
||||
|
|
@ -74,7 +74,7 @@ rm -rf ./build.sh
|
|||
rm -rf ./build_crons.sh
|
||||
rm -rf ./routers/base.py
|
||||
rm -rf ./routers/core.py
|
||||
rm -rf ./routers/crons/core_crons.py
|
||||
rm -rf ./crons/core_crons.py
|
||||
rm -rf ./db_changes.sql
|
||||
rm -rf ./Dockerfile_bundle
|
||||
rm -rf ./entrypoint.bundle.sh
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue