@colyseus/tools 0.16.11 → 0.16.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/report-stats.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colyseus/tools",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.12",
|
|
4
4
|
"description": "Simplify the development and production settings for your Colyseus project.",
|
|
5
5
|
"input": "./src/index.ts",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"@types/dotenv": "^8.2.0",
|
|
52
52
|
"uwebsockets-express": "^1.1.10",
|
|
53
53
|
"@colyseus/bun-websockets": "^0.16.4",
|
|
54
|
-
"@colyseus/redis-presence": "^0.16.3",
|
|
55
54
|
"@colyseus/core": "^0.16.18",
|
|
55
|
+
"@colyseus/redis-driver": "^0.16.1",
|
|
56
56
|
"@colyseus/ws-transport": "^0.16.5",
|
|
57
|
-
"@colyseus/
|
|
58
|
-
"@colyseus/
|
|
57
|
+
"@colyseus/redis-presence": "^0.16.3",
|
|
58
|
+
"@colyseus/uwebsockets-transport": "^0.16.9"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@colyseus/core": "0.16.x",
|
package/report-stats.js
CHANGED
|
@@ -7,7 +7,7 @@ const pm2 = require('pm2');
|
|
|
7
7
|
const COLYSEUS_CLOUD_URL = `${process.env.ENDPOINT}/vultr/stats`;
|
|
8
8
|
|
|
9
9
|
const FAILED_ATTEMPS_FILE = "/var/tmp/pm2-stats-attempts.txt";
|
|
10
|
-
const FETCH_TIMEOUT =
|
|
10
|
+
const FETCH_TIMEOUT = 30000;
|
|
11
11
|
|
|
12
12
|
async function retryFailedAttempts() {
|
|
13
13
|
/**
|