From 0f823638788b72d69c9bced1bb506ed9223aa8d3 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 12 Aug 2020 17:55:20 +0200 Subject: [PATCH 1/2] Move crontab for sitemap to hourly Signed-off-by: Thomas Citharel --- config/config.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.exs b/config/config.exs index d572d984..07e8a587 100644 --- a/config/config.exs +++ b/config/config.exs @@ -238,7 +238,7 @@ config :mobilizon, Oban, log: false, queues: [default: 10, search: 5, mailers: 10, background: 5], crontab: [ - {"@daily", Mobilizon.Service.Workers.BuildSiteMap, queue: :background} + {"@hourly", Mobilizon.Service.Workers.BuildSiteMap, queue: :background} ] config :mobilizon, :rich_media, From 3ca4291c9b381d09efc7581de2b80b5506f6da13 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 12 Aug 2020 17:55:38 +0200 Subject: [PATCH 2/2] Remove the /events/explore route Signed-off-by: Thomas Citharel --- js/src/components/NavBar.vue | 2 +- js/src/router/event.ts | 7 ------- lib/web/controllers/page_controller.ex | 1 - lib/web/router.ex | 2 +- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/js/src/components/NavBar.vue b/js/src/components/NavBar.vue index 549de3cd..e510aeaa 100644 --- a/js/src/components/NavBar.vue +++ b/js/src/components/NavBar.vue @@ -6,7 +6,7 @@