opencode-database-plugin 1.0.10 → 1.0.11

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1949,7 +1949,7 @@ function osUsername() {
1949
1949
  var DATABASE_URL = process.env.OPENCODE_DATABASE_URL || "postgres://opencode:opencode@postgres:5432/opencode";
1950
1950
  var QUERY_TIMEOUT = parseInt(process.env.OPENCODE_DB_QUERY_TIMEOUT || "10000", 10);
1951
1951
  var sql = src_default(DATABASE_URL, {
1952
- max: 10,
1952
+ max: 30,
1953
1953
  idle_timeout: 30,
1954
1954
  connect_timeout: 10,
1955
1955
  max_lifetime: 60 * 30,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-database-plugin",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "OpenCode plugin that logs sessions, messages, tool executions, and token usage to PostgreSQL",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",