13 lines
362 B
Elixir
13 lines
362 B
Elixir
|
|
defmodule Berrypod.BenchRepo do
|
||
|
|
@moduledoc """
|
||
|
|
Standalone Ecto Repo for SQLite concurrency tests.
|
||
|
|
|
||
|
|
Started dynamically against temp DB files — no Sandbox, no Application
|
||
|
|
config dependency. Each test controls pool size, PRAGMAs, and transaction
|
||
|
|
mode independently.
|
||
|
|
"""
|
||
|
|
use Ecto.Repo,
|
||
|
|
otp_app: :berrypod,
|
||
|
|
adapter: Ecto.Adapters.SQLite3
|
||
|
|
end
|