Skip to content

Commit

Permalink
📦 v4.1.0
Browse files Browse the repository at this point in the history
What's new

- ✨ Added async `.ping()` method
  • Loading branch information
dr-dimitru committed Apr 8, 2024
1 parent 5548d1f commit 3abac04
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions .meteorignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.DS_Store
.eslintcache
.eslintrc
adapters/blank-example.js
cover.jpg
cover.png
node_modules
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.npm
.meteorignore
.versions
adapters/blank-example.js
cover.jpg
cover.png
node_modules
Expand Down
4 changes: 2 additions & 2 deletions .versions
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ [email protected]
[email protected]
[email protected]
[email protected]
local-test:ostrio:cron-jobs@4.0.0
local-test:ostrio:cron-jobs@4.1.0
[email protected]
[email protected]
meteortesting:[email protected]
Expand All @@ -38,7 +38,7 @@ [email protected]
[email protected]
[email protected]
[email protected]
ostrio:cron-jobs@4.0.0
ostrio:cron-jobs@4.1.0
[email protected]
[email protected]
[email protected]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.js
Original file line number Diff line number Diff line change
@@ -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'
});
Expand Down
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -19,10 +19,12 @@
"agent",
"cluster",
"CRON",
"highload",
"high load",
"horizontal scaling",
"job",
"jobs",
"manager",
"mongo",
"mongodb",
"redis",
Expand All @@ -31,17 +33,21 @@
"scheduler",
"servers",
"task",
"task manager",
"task scheduler",
"tasks"
],
"tags": [
"agenda",
"agent",
"cluster",
"CRON",
"highload",
"high load",
"horizontal scaling",
"job",
"jobs",
"manager",
"mongo",
"mongodb",
"redis",
Expand All @@ -50,6 +56,8 @@
"scheduler",
"servers",
"task",
"task manager",
"task scheduler",
"tasks"
],
"repository": {
Expand Down

0 comments on commit 3abac04

Please sign in to comment.