Skip to content

Commit

Permalink
Disable old new unpublish schedule/job
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-nom committed Oct 31, 2024
1 parent facc66d commit 273b3f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions src/main/resources/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ if (app.config.env !== 'test') {

activateLayersEventListeners();
// TODO: reactivate these after running the big archive job
// activateCacheEventListeners();
// activateContentListItemUnpublishedListener();
// activateExternalSearchIndexEventHandlers();
activateCacheEventListeners();
activateContentListItemUnpublishedListener();
activateExternalSearchIndexEventHandlers();
// activateArchiveNewsSchedule()

activateCustomPathNodeListeners();
activateContentUpdateListener();
activateSchedulerCleanupSchedule();
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/webapp/webapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ const validActions: ActionsMap = {
description: 'Fjern expired scheduler jobs (kjøres normalt automatisk hver morgen)',
callback: runSchedulerCleanup,
},
oldNewsUnpublish: {
description: 'Avpubliser og arkiver gamle nyheter/pressemeldinger',
callback: archiveOldNews,
},
// oldNewsUnpublish: {
// description: 'Avpubliser og arkiver gamle nyheter/pressemeldinger',
// callback: archiveOldNews,
// },
...(!!URLS.SEARCH_API_URL && {
updateAllSearchNodesExternal: {
description: 'Oppdater alle dokumenter for eksternt søk',
Expand Down

0 comments on commit 273b3f2

Please sign in to comment.