Skip to content

Commit

Permalink
Added comment about future scheduler migration
Browse files Browse the repository at this point in the history
refs #10060
  • Loading branch information
naz committed May 6, 2019
1 parent 2447335 commit b69f1e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ function initialiseServices() {
scheduling.init({
schedulerUrl: config.get('scheduling').schedulerUrl,
active: config.get('scheduling').active,
// NOTE: When changing API version need to consider how to migrate custom scheduling adapters
// that rely on URL to lookup persisted scheduled records (jobs, etc.). Ref: https://github.com/TryGhost/Ghost/pull/10726#issuecomment-489557162
apiUrl: urlService.utils.urlFor('api', {version: 'v0.1', versionType: 'content'}, true),
internalPath: config.get('paths').internalSchedulingPath,
contentPath: config.getContentPath('scheduling')
Expand Down

0 comments on commit b69f1e9

Please sign in to comment.