You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ly...@apache.org on 2024/09/13 01:56:27 UTC
(incubator-devlake) branch dev-9 created (now ae3d1d8c9)
This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a change to branch dev-9
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
at ae3d1d8c9 fix(project): update project's default sync policy
This branch includes the following new commits:
new ae3d1d8c9 fix(project): update project's default sync policy
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-devlake) 01/01: fix(project): update project's default sync policy
Posted by ly...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a commit to branch dev-9
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit ae3d1d8c99dac4eec97989c7c674e83e8c57b425
Author: d4x1 <15...@qq.com>
AuthorDate: Fri Sep 13 09:56:14 2024 +0800
fix(project): update project's default sync policy
---
backend/server/services/project.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/server/services/project.go b/backend/server/services/project.go
index 8e9528d38..a490572eb 100644
--- a/backend/server/services/project.go
+++ b/backend/server/services/project.go
@@ -142,7 +142,7 @@ func CreateProject(projectInput *models.ApiInputProject) (*models.ApiOutputProje
ProjectName: project.Name,
Mode: "NORMAL",
Enable: true,
- CronConfig: "0 0 * * *",
+ CronConfig: "0 0 * * 1",
IsManual: false,
SyncPolicy: models.SyncPolicy{
TimeAfter: func() *time.Time {