summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-02-26 18:44:01 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-02-26 18:44:01 +0300
commit21df0578c506697a13122ff49db62b38cd75b370 (patch)
tree27a0cc6d3c2f101936fef14fd35decb3dea1de07
parent5e7d34458a6e60487393caa4f320ab1cfc1cf8e5 (diff)
README: update
-rw-r--r--README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index 7354f91..382d7e0 100644
--- a/README.md
+++ b/README.md
@@ -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