mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
fix: dev startup — Redis eviction policy, mana-media port crash, Svelte warnings
- Redis: allkeys-lru → noeviction to prevent silent data loss when memory full - mana-media: --watch → --hot to fix EADDRINUSE crash on Bun HMR reload - Svelte: build initial values before $state() to avoid state_referenced_locally warnings in create-app-onboarding.svelte.ts and shared-llm/store.svelte.ts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a9956c0009
commit
3e81a6ebef
6 changed files with 25 additions and 26 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"version": "0.2.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "bun run --watch src/index.ts",
|
||||
"dev": "bun run --hot src/index.ts",
|
||||
"start": "bun run src/index.ts",
|
||||
"type-check": "tsc --noEmit",
|
||||
"db:push": "drizzle-kit push",
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ services:
|
|||
container_name: mana-search-redis-dev
|
||||
ports:
|
||||
- "6380:6379" # Different port to avoid conflicts
|
||||
command: redis-server --appendonly yes --maxmemory 64mb --maxmemory-policy allkeys-lru
|
||||
command: redis-server --appendonly yes --maxmemory 64mb --maxmemory-policy noeviction
|
||||
volumes:
|
||||
- redis-dev-data:/data
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue