Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #48 from Gorillas-Team/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Psykka authored Nov 22, 2020
2 parents f368480 + 693ec10 commit 075dd08
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist/
.idea/*
out/
*.log
.vscode
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gorilink",
"version": "1.3.0",
"version": "1.3.1",
"main": "./src/index.js",
"types": "./typings/index.d.ts",
"license": "BSD",
Expand Down
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ module.exports = {
GorilinkPlayer: require('./lib/GorilinkPlayer'),
GorilinkNode: require('./lib/GorilinkNode'),

Queue: require('./lib/structures/Queue')
Queue: require('./lib/structures/Queue'),
Track: require('./lib/model/Track'),
SearchResponse: require('./lib/model/SearchResponse')
}
2 changes: 1 addition & 1 deletion src/lib/GorilinkManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class GorilinkManager extends EventEmitter {
.filter(node => node.connected)
.sort((a, b) => {
const aLoad = a.stats.cpu ? a.stats.cpu.systemLoad / a.stats.cpu.cores * 100 : 0
const bLoad = b.stats.cpu ? b.stats.cpu.systemLoad / b.stats.cpu.core * 100 : 0
const bLoad = b.stats.cpu ? b.stats.cpu.systemLoad / b.stats.cpu.cores * 100 : 0
return aLoad - bLoad
})
}
Expand Down

0 comments on commit 075dd08

Please sign in to comment.