Skip to content

Commit

Permalink
fix scheduler part for contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
dongxuwang committed Sep 2, 2023
1 parent 49a76c6 commit d05a9b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ Locally, we do not receive any POM files, instead we use the `data / run init` t

While running, the server executes some scheduled jobs periodically to update the information of the projects and to synchronize the search engine:
Here are some examples of scheduled jobs:
- Github updater: Update information about the projects form Github.
- Project dependencies updater: Compute the dependencies of a project from the dependencies of its artifacts.
- Search synchronizer: Update the content of the Elasticsearch index.
- github-info: Update information about the projects form Github.
- project-dependencies: Compute the dependencies of a project from the dependencies of its artifacts.
- sync-search: Update the content of the Elasticsearch index.

Check out the [SchedulerService](https://github.com/scalacenter/scaladex/blob/main/modules/server/src/main/scala/scaladex/server/service/SchedulerService.scala) class to have a complete list of all the scheduled jobs.
Check out the [Job](https://github.com/scalacenter/scaladex/blob/main/modules/template/src/main/scala/scaladex/view/Job.scala) class to have a complete list of all the scheduled jobs.

The main and search pages are computed with information coming from Elasticsearch.
The project and artifact pages contain data from the SQL database.
Expand Down

0 comments on commit d05a9b2

Please sign in to comment.