新增:项目活跃度算法及接口

This commit is contained in:
2024-05-24 17:50:54 +08:00
parent c58ca88edd
commit 45587ad543
4 changed files with 182 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ defaults format: :json do
# projects文件夹下的
scope module: :projects do
resources :portrait, only: [:index]
resources :sync_repositories, only: [:create, :index] do
collection do
post :update_info

View File

@@ -16,4 +16,11 @@ create_daily_project_statistics:
daily_platform_statistics:
cron: "0 1 * * *"
class: "DailyPlatformStatisticsJob"
queue: default
queue: default
cache_async_reset:
cron: "0 2 * * *"
class: "CacheAsyncResetJob"
queue: cache
args:
- "platform_statistic_service"