mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-05-24 19:55:17 +00:00
712fa15a8c
SQLite :memory: databases create separate databases per connection. When the connection pool opens multiple connections (e.g. poller goroutine vs main test goroutine), tables created on one connection are invisible to others. Setting MaxOpenConns(1) ensures all queries use the same in-memory database, fixing TestPollerBroadcastsMultipleObservations.