mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 12:45:46 +08:00
新增:项目活跃度算法及接口
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user