Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Merge remote-tracking branch 'origin/dev' into task/48717-replace-delayedjob

Pavel Balashoue054adbdbf0c
diff --cc Gemfile.lock
index 59c6c834fe5,696d446f4ec..968838b3d51
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@@ -559,14 -565,7 +558,14 @@@ GE
i18n (>= 0.7)
multi_json
request_store (>= 1.0)
+ good_job (3.21.5)
+ activejob (>= 6.0.0)
+ activerecord (>= 6.0.0)
+ concurrent-ruby (>= 1.0.2)
+ fugit (>= 1.1)
+ railties (>= 6.0.0)
+ thor (>= 0.14.1)
- google-apis-core (0.13.0)
+ google-apis-core (0.14.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (~> 1.9)
httpclient (>= 2.8.1, < 3.a)
diff --cc modules/storages/lib/open_project/storages/engine.rb
index cdf8c7c8176,de36e6e7b23..53aaa8e6ad9
--- a/modules/storages/lib/open_project/storages/engine.rb
+++ b/modules/storages/lib/open_project/storages/engine.rb
@@@ -284,17 -284,10 +284,17 @@@ module OpenProject::Storage
end
add_cron_jobs do
- [
- Storages::CleanupUncontaineredFileLinksJob,
- Storages::ManageNextcloudIntegrationCronJob
- ]
+ {
+ 'Storages::CleanupUncontaineredFileLinksJob': {
+ cron: "06 22 * * *",
+ class: ::Storages::CleanupUncontaineredFileLinksJob.name
+ },
+
+ 'Storages::ManageNextcloudIntegrationJob': {
- cron: "*/5 * * * *",
++ cron: "1 * * * *",
+ class: ::Storages::ManageNextcloudIntegrationJob.name
+ }
+ }
end
end
end