summaryrefslogtreecommitdiffstats
path: root/jobs/server.go
Commit message (Collapse)AuthorAgeFilesLines
* PLT-7705: API to get data retention policy. (#7539)George Goldberg2017-10-021-1/+1
| | | | | | * PLT-7705: API to get data retention policy. * Fix review comments.
* remove jobs.Srv and other jobs-related globals (#7535)Chris2017-09-291-15/+20
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* Add jobserver command to platform binary (#7067)Christopher Speller2017-08-011-6/+2
| | | | | | | | * Add jobserver command to platform binary * Fixing jobserver config. Adding jobserver flags. * Fixing govet in makefile
* PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-071-2/+29
| | | | | | | | | | | | | | 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.
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-181-0/+46
* Added initial job server * Added job server to be ran as part of platform * Added test job to the enterprise repo * Fixed job server not loading license * Renamed job package to jobs * Fixed TE not being buildable * Added JobStatus table to database * Changed fields used by JobStatus * Added APIs to query job status * Added config change listener to server * Added option to run job server from Makefile * Added ability to enable/disable jobs from config * Commented out placeholder for search indexing job * Fixed govet * Removed debug messages and fixed job api init message