diff --git a/.meteorignore b/.meteorignore index 4322cd3..a9cbbf4 100644 --- a/.meteorignore +++ b/.meteorignore @@ -5,6 +5,7 @@ .DS_Store .eslintcache .eslintrc +adapters/blank-example.js cover.jpg cover.png node_modules diff --git a/.npmignore b/.npmignore index 155e073..7906ea0 100644 --- a/.npmignore +++ b/.npmignore @@ -7,6 +7,7 @@ .npm .meteorignore .versions +adapters/blank-example.js cover.jpg cover.png node_modules diff --git a/.versions b/.versions index 23ddea6..4e1c93c 100644 --- a/.versions +++ b/.versions @@ -22,7 +22,7 @@ geojson-utils@1.0.11 http@1.4.2 id-map@1.1.1 inter-process-messaging@0.1.1 -local-test:ostrio:cron-jobs@4.0.0 +local-test:ostrio:cron-jobs@4.1.0 logging@1.3.3 meteor@1.11.5 meteortesting:browser-tests@1.4.2 @@ -38,7 +38,7 @@ mongo-dev-server@1.1.0 mongo-id@1.0.8 npm-mongo@4.17.2 ordered-dict@1.1.0 -ostrio:cron-jobs@4.0.0 +ostrio:cron-jobs@4.1.0 promise@0.12.2 random@1.2.1 react-fast-refresh@0.2.8 diff --git a/README.md b/README.md index a0614ae..dbe4e1d 100644 --- a/README.md +++ b/README.md @@ -383,7 +383,7 @@ process.on('SIGHUP', cleanUpBeforeTermination); // EXAMPLE: DESTROY JoSk INSTANCE UPON SERVER PROCESS TERMINATION const jobs = new JoSk({ /* ... */ }); -const pingResult = jobs.ping(); +const pingResult = await jobs.ping(); console.log(pingResult) /** In case of the successful response diff --git a/package-lock.json b/package-lock.json index 7a3d49e..662d347 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "josk", - "version": "4.0.0", + "version": "4.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "josk", - "version": "4.0.0", + "version": "4.1.0", "license": "BSD-3-Clause", "devDependencies": { "bson": "^6.6.0", diff --git a/package.js b/package.js index 1a42ba5..b8fa7fa 100644 --- a/package.js +++ b/package.js @@ -1,7 +1,7 @@ Package.describe({ name: 'ostrio:cron-jobs', - version: '4.0.0', - summary: 'Jobs scheduler for multi-server and clusters setup', + version: '4.1.0', + summary: 'Tasks/CRON scheduler and manager for horizontally scaled multi-server apps', git: 'https://github.com/veliovgroup/josk', documentation: 'README.md' }); diff --git a/package.json b/package.json index ab21522..64967f3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "josk", - "version": "4.0.0", - "description": "Jobs scheduler and manager for Node.js on multi-server and clusters setup", + "version": "4.1.0", + "description": "Tasks/CRON scheduler and manager for horizontally scaled multi-server applications", "main": "index.js", "type": "module", "exports": { @@ -19,10 +19,12 @@ "agent", "cluster", "CRON", + "highload", "high load", "horizontal scaling", "job", "jobs", + "manager", "mongo", "mongodb", "redis", @@ -31,6 +33,8 @@ "scheduler", "servers", "task", + "task manager", + "task scheduler", "tasks" ], "tags": [ @@ -38,10 +42,12 @@ "agent", "cluster", "CRON", + "highload", "high load", "horizontal scaling", "job", "jobs", + "manager", "mongo", "mongodb", "redis", @@ -50,6 +56,8 @@ "scheduler", "servers", "task", + "task manager", + "task scheduler", "tasks" ], "repository": {