Skip to content

Commit

Permalink
fix(comfyui): fix possible mem leak on comfyui services, try to fix m…
Browse files Browse the repository at this point in the history
…kdir of mikroorm
  • Loading branch information
tctien342 committed Jan 20, 2025
1 parent 8a66661 commit f3b4931
Show file tree
Hide file tree
Showing 6 changed files with 262 additions and 253 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion mikro-orm.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default defineConfig({
WorkflowEditEvent,
Attachment
],
dbName: 'storage/comfyui.manager.db',
dbName: process.cwd() + '/storage/comfyui.manager.db',
debug: process.env.NODE_ENV === 'development',
discovery: { disableDynamicFileAccess: false }
})
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"@hookform/resolvers": "^3.9.1",
"@langchain/core": "^0.3.25",
"@langchain/openai": "^0.3.16",
"@mikro-orm/cli": "6.4.1",
"@mikro-orm/core": "6.4.1",
"@mikro-orm/libsql": "6.4.1",
"@mikro-orm/reflection": "6.4.1",
"@mikro-orm/cli": "^6.4.3",
"@mikro-orm/core": "^6.4.3",
"@mikro-orm/libsql": "^6.4.3",
"@mikro-orm/reflection": "^6.4.3",
"@radix-ui/react-accordion": "^1.2.2",
"@radix-ui/react-alert-dialog": "^1.1.3",
"@radix-ui/react-avatar": "^1.1.2",
Expand Down
8 changes: 4 additions & 4 deletions package.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"@hookform/resolvers": "^3.9.1",
"@langchain/core": "^0.3.25",
"@langchain/openai": "^0.3.16",
"@mikro-orm/cli": "6.4.1",
"@mikro-orm/core": "6.4.1",
"@mikro-orm/libsql": "6.4.1",
"@mikro-orm/reflection": "6.4.1",
"@mikro-orm/cli": "^6.4.3",
"@mikro-orm/core": "^6.4.3",
"@mikro-orm/libsql": "^6.4.3",
"@mikro-orm/reflection": "^6.4.3",
"@saintno/comfyui-sdk": "^0.2.43",
"@saintno/needed-tools": "^0.3.5",
"sharp": "^0.33.5",
Expand Down
Loading

0 comments on commit f3b4931

Please sign in to comment.