@certik/skynet 0.15.0 → 0.15.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.1
4
+
5
+ - BREAKING: changed api restart behavior to never fail the allocation
6
+
3
7
  ## 0.15.0
4
8
 
5
9
  - BREAKING: only start one S3 client globally
package/app.js CHANGED
@@ -46,7 +46,7 @@ async function checkDeployEnv(env) {
46
46
  }
47
47
 
48
48
  return { name: key, ok: true };
49
- })
49
+ }),
50
50
  );
51
51
 
52
52
  const missingEnvs = envStatus.filter((s) => !s.ok).map((s) => s.name);
@@ -694,8 +694,8 @@ function api({ name, routes, serve, beforeListen, env = {}, region = "us-east-1"
694
694
  restart: {
695
695
  attempts: 3,
696
696
  delay: "15s",
697
- mode: "fail",
698
- interval: "30m",
697
+ mode: "delay",
698
+ interval: "2m",
699
699
  },
700
700
  count: serve.instances,
701
701
  killTimeout: serve.killTimeout,
package/bun.lockb CHANGED
File without changes
package/deploy.js CHANGED
@@ -134,7 +134,8 @@ const genConfig = ({
134
134
  }
135
135
 
136
136
  restart {
137
- attempts = 0
137
+ attempts = 3
138
+ delay = "15s"
138
139
  mode = "fail"
139
140
  }
140
141
  }
package/examples/api.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@certik/skynet",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "Skynet Shared JS library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -43,4 +43,4 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  }
46
- }
46
+ }
@@ -1,5 +0,0 @@
1
- {
2
- "conventionalCommits.scopes": [
3
- "lib-skynet"
4
- ]
5
- }