summaryrefslogtreecommitdiffstats
path: root/store/sql_job_store.go
Commit message (Collapse)AuthorAgeFilesLines
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-251-348/+0
| | | | | | | | | | * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp
* Add error codes to the remaining stores (Part 2). (#7462)George Goldberg2017-09-181-26/+13
|
* Renaming repoChristopher Speller2017-09-061-1/+1
|
* PLT-6595-Server: Job Management APIs. (#6931)George Goldberg2017-07-201-2/+36
| | | | | | | | * PLT-6595-Server: Job Management APIs. * MANAGE_JOBS Permission * Fix test.
* PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-071-0/+327
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.