diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-02-26 18:44:01 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-02-26 18:44:01 +0300 |
commit | 21df0578c506697a13122ff49db62b38cd75b370 (patch) | |
tree | 27a0cc6d3c2f101936fef14fd35decb3dea1de07 | |
parent | 5e7d34458a6e60487393caa4f320ab1cfc1cf8e5 (diff) |
README: update
-rw-r--r-- | README.md | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,7 +1,7 @@ # jobd -**jobd** is a simple job queue daemon written in Node.JS. It uses MySQL -table as a storage. +**jobd** is a simple job queue daemon written in Node.JS. It uses MySQL table as +a storage. ## Installation @@ -16,7 +16,10 @@ To be written ## MySQL setup -Table scheme. You can add additional fields if you need. +Minimal table scheme. + +In a real world, you would to add need additional fields such as `job_name` or +`job_data`. ``` CREATE TABLE `jobs` ( @@ -37,7 +40,7 @@ CREATE TABLE `jobs` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ``` -You can turn `target` and `slot` to `ENUM`, for optimization. +For optimization purposes, you can turn fields `target` and `slot` into `ENUM`s. ## License |