summaryrefslogtreecommitdiffstats
path: root/jobs/testworker.go
Commit message (Collapse)AuthorAgeFilesLines
* general cleanup (#8387)Chris2018-03-071-106/+0
|
* remove jobs.Srv and other jobs-related globals (#7535)Chris2017-09-291-7/+9
|
* Renaming repoChristopher Speller2017-09-061-1/+1
|
* PLT-6475: Elasticsearch Indexing Worker. (#6879)George Goldberg2017-07-111-1/+1
|
* PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-071-0/+104
This commit redesigns the jobserver to be based around an architecture of "workers", which carry out jobs of a particular type, and "jobs" which are a unit of work carried by a particular worker. It also introduces "schedulers" which are responsible for scheduling jobs of a particular type automatically (jobs can also be scheduled manually when apropriate). Workers may be run many times, either in instances of the platform binary, or the standalone jobserver binary. In any mattermost cluster, only one instance of platform OR jobserver must run the schedulers. At the moment this is controlled by a config variable, but in future will be controlled through the cluster leader election process.